您的位置:首页 > 运维架构 > Docker

CentOS 6.7安装Docker

2016-09-15 09:09 429 查看
实践环境

[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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  centos Docker