- Docker Python API Connect
apt install python-pip
pip install docker.
import docker
client = docker.from_env()
for container in client.containers.list():
print container.id
apt install python-pip
pip install docker.
import docker
client = docker.from_env()
for container in client.containers.list():
print container.id