docker search xxx
docker pull xxx
docker run -itd xxx(本地没有会自动下载)
docker exec -it bc9167e3ead8 /bin/bash
docker ps [-a]
docker stop bc9167e3ead8
docker start bc9167e3ead8
docker restart bc9167e3ead8
docker commit -m="django-uwsgi-nginx-mysql" -a="cdy" bc9167e3ead8 cdy/ubuntu
docker images
docker rm containerid
docker rmi imagename
docker tag 510 cdy/ubuntu:dev
原文:https://www.cnblogs.com/dayongge/p/13521882.html