实践环境

[root@localhost ~]# cat /etc/issue
CentOS release 6.7 (Final)
Kernel \r on an \m

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

安装

[root@localhost ~]# yum install -y epel-release
[root@localhost ~]# yum install -y docker-io

启动

[root@localhost ~]# /etc/init.d/docker start
Starting cgconfig service:                                 [确定]
Starting docker:                                           [确定]
[root@localhost ~]# ps aux |grep docker
root      3176  1.7  0.6 222296 12268 pts/0    Sl   08:56   0:00 /usr/bin/docker -d
root      3308  0.0  0.0 103320   912 pts/0    S+   08:56   0:00 grep docker