gpt4 book ai didi

docker - 在centos7 : docker-engine-selinux conflicts with docker-selinux-*上安装docker

转载 作者:行者123 更新时间:2023-12-04 00:08:23 37 4
gpt4 key购买 nike

我尝试安装 docker来自 yum 和来自 Centos7 上的安装脚本并且他们都给出了相同的错误:
Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64
我无法弄清楚如何解决这个问题并安装 docker。

完整的错误回溯:

[root@mynode]# wget -qO- https://get.docker.com/ | sh
/usr/bin/docker: line 13: /usr/bin/docker-latest: No such file or directory
sh: line 149: [: -lt: unary operator expected
sh: line 153: [: -le: unary operator expected
Warning: the "docker" command appears to already exist on this system.

If you already have Docker installed, this script can cause trouble, which is
why we're displaying this warning and provide the opportunity to cancel the
installation.

If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.

You may press Ctrl+C now to abort this script.
+ sleep 20
+ sh -c 'sleep 3; yum -y -q install docker-engine'
Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

最佳答案

yum list installed|grep docker
yum remove docker-selinux.x86_64

关于docker - 在centos7 : docker-engine-selinux conflicts with docker-selinux-*上安装docker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38087016/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com