centos6 yum安装docker
安装前请确保linux为64位系统! 1、在Fedora EPEL源中已经提供了docker-io包,下载安装epel:rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpmsed -i 's/^mirrorlist=https/mirro
·
首先关闭selinux:
setenforce 0
sed
-i
'/^SELINUX=/c\SELINUX=disabled'
/etc/selinux/config
|
rpm -ivh http:
//mirrors
.sohu.com
/fedora-epel/6/x86_64/epel-release-6-8
.noarch.rpm
sed
-i
's/^mirrorlist=https/mirrorlist=http/'
/etc/yum
.repos.d
/epel
.repo
|
yum -y
install
docker-io
|
3、检查docker是否安装完成
[root@localhost ~]# docker -v
Docker version 1.7.1, build 786b29d/1.7.1
Docker version 1.7.1, build 786b29d/1.7.1
更多推荐
已为社区贡献3条内容
所有评论(0)