红联Linux门户
Linux帮助

在centos7上安装docker不成功,用换了一个epel源的办法解决

发布时间:2016-05-23 09:59:19来源:linux网站作者:freeman51002396

我一直在centos7上面安装Docker不成功,用下面的办法解决,就是换了一个epel源。


配置epel源
/etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://centos.ustc.edu.cn/epel/6/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
使配置生效
yum clean all
yum makecache
安装docker并启动
Yum install docker-io


本文永久更新地址:http://www.linuxdiyf.com/linux/20871.html