LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-09-2020, 03:15 AM   #1
jmueller1998
LQ Newbie
 
Registered: Jul 2020
Posts: 2

Rep: Reputation: Disabled
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
 
Old 07-09-2020, 07:02 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,695

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
1. How did you install docker in the first place?
2. Why on CentOS 7? I thought current was CentOS 8.
 
Old 07-10-2020, 03:18 AM   #3
jmueller1998
LQ Newbie
 
Registered: Jul 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-10-2020, 08:16 AM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,695

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
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.

Last edited by wpeckham; 07-10-2020 at 08:22 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Canonical Improves Security and Robustness of Ubuntu Kubernetes with Containerd LXer Syndicated Linux News 0 03-03-2019 11:23 AM
LXer: Containerd Project Hits CNCF Graduation Milestone LXer Syndicated Linux News 0 03-01-2019 02:31 AM
Any problem if I install CENTOS7 Workstation over CENTOS7 Server? Rich Strebendt Linux - Software 5 05-03-2018 11:05 PM
LXer: Docker Opens Up with Containerd Container Runtime LXer Syndicated Linux News 0 12-14-2016 05:12 PM
kernel26-firmware conflicts with linux-firmware conflicts with nvidia-96xx Bratmon Arch 3 06-26-2010 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration