CentOS安裝docker錯(cuò)誤解決
2016-06-29 21:38:04
12728
安裝docker報(bào)以下錯(cuò)誤:
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/sbin/blkdeactivate from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/share/man/man8/blkdeactivate.8.gz from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
Error Summary
解決辦法:
有錯(cuò)誤信息看是少東西了,安裝
安裝:yum install -y libdevmapper*
然后再執(zhí)行
yum install -y docker
OK,wait complete!