安装docker错误:docker-ce conflicts with 2:docker-1.13.1-209.git7d71120.el7.centos.x86_64

安装docker报错:

错误:docker-ce conflicts with 2:docker-1.13.1-209.git7d71120.el7.centos.x86_64
错误:docker-ce-cli conflicts with 2:docker-1.13.1-209.git7d71120.el7.centos.x86_64
 您可以尝试添加 --skip-broken 选项来解决该问题
 您可以尝试执行:rpm -Va --nofiles --nodigest
 

解决:

[root@master3 ~]# yum list installed | grep docker
containerd.io.x86_64            1.6.18-3.1.el7                 @docker-ce-stable
docker-buildx-plugin.x86_64     0.10.2-1.el7                   @docker-ce-stable
docker-ce.x86_64                3:23.0.1-1.el7                 @docker-ce-stable
docker-ce-cli.x86_64            1:23.0.1-1.el7                 @docker-ce-stable
docker-ce-rootless-extras.x86_64
                                23.0.1-1.el7                   @docker-ce-stable
docker-compose-plugin.x86_64    2.16.0-1.el7                   @docker-ce-stable
docker-scan-plugin.x86_64       0.23.0-3.el7                   @docker-ce-stable
[root@master3 ~]# yum -y remove containerd.io.x86_64

然后重新安装docker

你可能感兴趣的:(容器,linux)