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

安装服务:

#在centos6 中安装EPEL
[root@localhost ~]# sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#安装Docker软件包
[root@localhost ~]# yum install -y docker-io



启动服务:

[root@localhost onlyoffice]# service docker status
docker 已停
[root@localhost onlyoffice]# service docker start
Starting cgconfig service:                                 [确定]
Starting docker:	                                   [确定]
[root@localhost onlyoffice]# ps aux|grep docker
root      3655  2.9  0.2 292520 14276 pts/2    Sl   16:39   0:00 /usr/bin/docker -d
root      3771  0.0  0.0 103332   908 pts/2    S+   16:39   0:00 grep docker

 

你可能感兴趣的:(Docker)