CentOS镜像 # docker pull centos:centos6 # docker pull centos:centos7 默认会拉取centos6/centos7 最新版本的镜像 如果你想拉取指定版本的镜像怎么办? 看CentOS官方在Dockerhub上的tag: https://hub.docker.com/_/centos 拉取centos7: docker pull centos:centos7 拉取指定版本python https://hub.docker.com/_/python
拉取python2.7 docker pull python:2.7