实践环境
[root@localhost ~]# cat /etc/issueCentOS release 6.7 (Final)Kernel \r on an \m[root@localhost ~]# uname -aLinux 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 startStarting cgconfig service: [确定]Starting docker: [确定][root@localhost ~]# ps aux |grep dockerroot 3176 1.7 0.6 222296 12268 pts/0 Sl 08:56 0:00 /usr/bin/docker -droot 3308 0.0 0.0 103320 912 pts/0 S+ 08:56 0:00 grep docker