EPEL源
$ sudo rpm -Uvh http://www.gtlib.gatech.edu/pub/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
Install
$ sudo yum -y install docker-io
Start
$ service docker start
$ docker run hello-world
EPEL源
$ sudo rpm -Uvh http://www.gtlib.gatech.edu/pub/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
Install
$ sudo yum -y install docker-io
Start
$ service docker start
$ docker run hello-world
要求内核 3.10 以上
$ uname -r
Install
$ sudo yum update
$ curl -fsSL https://get.docker.com/ | sh
Start
$ systemctl start docker
$ docker run hello-world
能用 centos 7 就用7,别给自己找不愉快。