我正在尝试在 Centos7 上升级/安装 docker-engine。我之前安装了 docker 版本 1.10。我使用 yum remove 删除了它。目前我正在尝试从 docker 网站上提到的curl脚本安装版本1.12
$ curl -fsSL https://get.docker.com/ | sh
但是我收到以下错误:
[root@centos-512mb-nyc3-01 ~]# yum install docker-engine
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cc.columbia.edu
* extras: linux.cc.lehigh.edu
* updates: mirror.netdepot.com
Resolving Dependencies
--> Running transaction check
---> Package docker-engine.x86_64 0:1.12.3-1.el7.centos will be installed
--> Processing Dependency: docker-engine-selinux >= 1.12.3-1.el7.centos for package: docker-engine-1.12.3-1.el7.centos.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: docker-engine-1.12.3-1.el7.centos.x86_64
--> Running transaction check
---> Package docker-engine-selinux.noarch 0:1.12.3-1.el7.centos will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-21.el7_2 will be installed
--> Processing Conflict: docker-engine-selinux-1.12.3-1.el7.centos.noarch conflicts docker-selinux
--> Finished Dependency Resolution
Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-46.el7.centos.14.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
使用规定的解决方案,安装由于依赖性而失败。请帮忙。