Unable to update docker on CentOS7 myobt-containerd conflicts with containerd.io
Hello,
I'm unable to update docker on my CentOS7 vm. I get the following errors: Error: moby-containerd conflicts with containerd.io-1.2.13-3.2.el7.x86_64 Error: moby-runc conflicts with containerd.io-1.2.13-3.2.el7.x86_64 Does someone know how i can fix it? Thanks |
1. How did you install docker in the first place?
2. Why on CentOS 7? I thought current was CentOS 8. |
1.
# Install required packages sudo yum install -y yum-utils device-mapper-persistent-data lvm2 # Add repository sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # Install the latest version of Docker sudo yum install docker-ce docker-ce-cli containerd.io -y 2. CentOS8 is not supportet officially of docker. Thats why we use CentOS7 |
If you go to the Docker web site and view the instructions for installing or updating Docker, it starts with checking and updating the prerequisites, uninstalling the existing (old) install of Docker, then installing the latest (current) version.
Did you check and follow those instructions? It discusses CentOS 7 as a minimum, and the requirement is that the version be under current support. (I would presume considered under support of and by the CentOS team at RedHat) If that is the only restriction, it SHOULD work under CentOS 8. I note also that it mentions nothing about NOT working with CentOS 8, but I understand your reluctance to experiment. |
All times are GMT -5. The time now is 01:25 PM. |