1. 程式人生 > >CentOS 6.7安裝Docker

CentOS 6.7安裝Docker

實踐環境

[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