我有一个centos 7服务器,我安装了docker-ce(17.06.0-ce,build 02c1d87)。 当我试图安装kubernetes时,我一直处于冲突之下。在docker-ce安装期间已经安装了docker-1.12.6-32.git88a4867.el7.centos.x86_64依赖项。如果我卸载docker-ce,我可以安装kubernetes。由于这种冲突,我无法在机器上安装docker-ce和kubernetes。kubernetes在centos7上安装
我卸载码头并重新安装它,但没有运气。请帮我这个
---> Package docker-client.x86_64 2:1.12.6-32.git88a4867.el7.centos will be installed
---> Package docker-common.x86_64 2:1.12.6-32.git88a4867.el7.centos will be installed
--> Processing Conflict: docker-ce-17.06.0.ce-1.el7.centos.x86_64 conflicts docker
--> Processing Conflict: docker-ce-17.06.0.ce-1.el7.centos.x86_64 conflicts docker-io
--> Finished Dependency Resolution
Error: docker-ce conflicts with 2:docker-1.12.6-32.git88a4867.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
FYI:我已经尝试过百胜删除码头工人码头工人,码头工人的发动机,SELinux的容器SELinux和安装kubernetes。但是这种方法不允许我在容器中做任何事情。在Ubuntu容器中的Yum更新引发错误。我也在nginx容器,centos容器中出错。 E:无法打开锁定文件/ var/lib/dpkg/lock - 打开(13:权限被拒绝) E:无法锁定管理目录(/ var/lib/dpkg /),你是否root? “
我以root身份执行命令。
所以我需要卸载docker-ce并安装docker版本1.12,然后继续安装kubernetes> –
我认为是的,是的。 – zigarn
它工作。谢谢:) –