A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps, run containers, manage containers, manage Swarms, etc. The latest stable version is available on PyPI. Either add docker to your requirements.txt file or install with pip. To communicate with the Docker daemon, you first need to instantiate a client. The easiest way to do that is by calling the function from_env(). It can also be configured manually by instantiating a DockerClient class. Run and manage containers on the server. You can also create more advanced networks with custom IPAM configurations. Get and list nodes in a swarm. Before you can use these methods, you first need to join or initialize a swarm. Manage plugins on the server. Both the main DockerClient and low-level APIClient can connect to the Docker daemon with TLS.

Features

  • You can run containers
  • You can run containers in the background
  • You can manage containers
  • You can stream logs
  • You can manage images
  • Connect using the default socket or the configuration in your environment

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Docker SDK for Python

Docker SDK for Python Web Site

Other Useful Business Software
Network Management Software and Tools for Businesses and Organizations | Auvik Networks Icon
Network Management Software and Tools for Businesses and Organizations | Auvik Networks

Mapping, inventory, config backup, and more.

Reduce IT headaches and save time with a proven solution for automated network discovery, documentation, and performance monitoring. Choose Auvik because you'll see value in minutes, and stay with us to improve your IT for years to come.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Docker SDK for Python!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2021-09-30