环境搭建

docker

curl -s https://get.docker.io/ubuntu/ | sudo sh

python-api

pip install docker-py
原文地址:https://www.cnblogs.com/zxpgo/p/4178396.html