安装centos7.0 docker引擎时,解决lvm包冲突问题

前端之家收集整理的这篇文章主要介绍了安装centos7.0 docker引擎时,解决lvm包冲突问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

现象

centos7.0安装docker engine时,系统有以下提示

# yum install docker-engine 
Running transaction check
Running transaction test
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.5.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.5.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.5.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
Error Summary

解决方法

# yum install libdevmapper* -y //安装libdevmapper*
# yum install docker-engine -y

猜你在找的CentOS相关文章