Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

alt

Daniel Nashed

Install Docker 19.03 on CentOS 8+

Daniel Nashed – 25 September 2020 08:55:57

RedHat is still shipping an older containerd version with CentOS 8 than what they shipped with CentOS 7.

This blocks Docker 19+ installations. The only way to get Docker installed, is to use the -nobest option which will install Docker 18.x.

But you really want to install Docker 19.03

Here is how it looks like when you installed with -nobest option. An update will not work and also block some other updates.


yum update

Last metadata expiration check: 0:31:00 ago on Fri 25 Sep 2020 10:14:12 AM CEST.

Error:

Problem: package docker-ce-3:19.03.13-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed

- cannot install the best update candidate for package docker-ce-3:18.09.1-3.el7.x86_64

- package containerd.io-1.2.10-3.2.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.13-3.1.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.13-3.2.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.2-3.3.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.2-3.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.4-3.1.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.5-3.1.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.2.6-3.3.el7.x86_64 is filtered out by modular filtering

- package containerd.io-1.3.7-3.1.el7.x86_64 is filtered out by modular filtering

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


You can download the newer package needed, here ->
https://download.docker.com/linux/centos/7/x86_64/stable/Packages

The current version can be installed linke this (this will change over time)

dnf install -y
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.3.7-3.1.el7.x86_64.rpm

Once you updated containerid, you just run an update via yum:


yum update



In my case this updated 154 packages!

So apparently this blocked other updates as well..


Stay with CentOS 7 if you can for now...

Side note: not everything is better when you install a new OS version.
If you can, you should still stay with CentOS 7 for your Docker servers.
There are some network changes which could impact depending on your setup.
For example I had issues connecting Docker containers in the same defined Docker network.


- Daniel



Links

    Archives


    • [HCL Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]