问题列表:
解:处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉。即可。
在 CentOS 6.4(64位) 安装 docker.io
CentOS7安装 docker
sudo yum install docker
rm -f /var/run/yum.pid
Transaction check error: file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts withfilefrom package lvm2-7:2.02.105-14.el7.x86_64
yum install libdevmapper* -y
安装完后:
yum install docker
service docker start
重启Docker
service docker restart
开机启动docker:
sudo chkconfig docker on