ps: centos-6.9 for my own use, upgraded version of the original with python2.6 to 3.5.0, you need the original yum configuration file download with the yum
#!/usr/bin/python
change into
#!/usr/bin/python2.6
Then you can use the ~ docker pyhon by yum install --version view the current version
installation
1, source configure yum
# vim /etc/yum.repos.d/docker.repo [dockerrepo] name=Docker Repository baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/ enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg
2, by mounting yum docker
# yum install docker-engine # service docker start # service docker status
3, Log
# vim /var/log/docker