Backup/etc/yum.repos.d/centos-base.repo First
Download the corresponding version of the repo file, put in the/etc/yum.repos.d/(please do the appropriate backup before the operation)
Run the Yum Makecache build cache
Eple Source:
RPM-UVH http://ftp.sjtu.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
docker Installation:
you would need RHEL 6.5
CentOS 6.5 is already a 2.6.32-431 kernel, so it's a good idea to install this version.
Yum-y Install Docker-io
Upgrade:
Yum-y Update Docker-io
Manual Upgrade:
wget Https://get.docker.io/builds/Linux/x86_64/docker-latest-O dockermv-f Docker/usr/bin/docker
Upgrade complete
Start:
Service Docker start
Boot start:
Chkconfig Docker on
This article is from the "Time to go" blog, please be sure to keep this source http://wwvoid.blog.51cto.com/2958042/1782594
CentOS modifies Yum source and installs Docker