Comments on: How to Install Docker CE on CentOS 8 / RHEL 8 https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/ Mon, 18 Jul 2022 08:23:44 +0000 hourly 1 By: Arijit https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-37752 Mon, 18 Jul 2022 08:23:44 +0000 http://www.linuxtechi.com/?p=9327#comment-37752 Absolutely helpful. Followed it blindly and worked like a charm.

]]>
By: Fred Russel https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-35557 Fri, 10 Jun 2022 11:24:13 +0000 http://www.linuxtechi.com/?p=9327#comment-35557 In reply to Ibrahim.

use above in article to create repo and use below cmd to install
#dnf install docker-* -y –nobest –allowerasing

]]>
By: Sergio Gonzalez https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-30854 Thu, 31 Mar 2022 12:19:06 +0000 http://www.linuxtechi.com/?p=9327#comment-30854 In reply to Pradeep Kumar.

Absolutely, you must first remove buildah and podman, before the step 1: sudo dnf remove podman buidah -y

]]>
By: Pradeep Kumar https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-23130 Thu, 03 Jun 2021 07:59:15 +0000 http://www.linuxtechi.com/?p=9327#comment-23130 In reply to Ibrahim.

Hello Ibrahim,

Above steps are still valid for CentOS 8 & RHEL 8. I have tested on CentOS 8 system, it is working as expected. I would suggest first remove the docker repository that you have configured and also remove podman and docker ( older version) in case it is installed.

Update the system and then try these steps.

]]>
By: Ibrahim https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-23123 Tue, 01 Jun 2021 04:30:51 +0000 http://www.linuxtechi.com/?p=9327#comment-23123 Hi there,
Thanks for the great post! Is this solutions still valid? because I keep getting error running the first command. Please advice

[osboxes@osboxes tmp]$ sudo dnf update -y ; reboot
created by dnf config-manager from ‘https://download.docker.com/li’ 926 B/s | 367 B 00:00
Errors during downloading metadata for repository ‘download.docker.com_linux_centos_’:
– Status code: 404 for ‘https://download.docker.com/linux/centos/repodata/repomd.xml’ (IP: 99.86.61.24)
Error: Failed to download metadata for repo ‘download.docker.com_linux_centos_’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Failed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required.
Failed to open initctl fifo: Permission denied
Failed to talk to init daemon.
[osboxes@osboxes tmp]$

[osboxes@osboxes ~]$ sudo dnf update -y
[sudo] password for osboxes:
created by dnf config-manager from ‘https://download.docker.com/li’ 1.3 kB/s | 367 B 00:00
Errors during downloading metadata for repository ‘download.docker.com_linux_centos_’:
– Status code: 404 for ‘https://download.docker.com/linux/centos/repodata/repomd.xml’ (IP: 99.86.61.58)
Error: Failed to download metadata for repo ‘download.docker.com_linux_centos_’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[osboxes@osboxes ~]$ sudo dnf config-manager –add-repo=’https://download.docker.com/linux/centos/docker-ce.repo’
Adding repo from: ‘https://download.docker.com/linux/centos/docker-ce.repo’
[osboxes@osboxes ~]$ sudo dnf list docker-ce
Docker CE Stable – x86_64 36 kB/s | 3.5 kB 00:00
created by dnf config-manager from ‘https://download.docker.com/li’ 1.2 kB/s | 367 B 00:00
Errors during downloading metadata for repository ‘download.docker.com_linux_centos_’:
– Status code: 404 for ‘https://download.docker.com/linux/centos/repodata/repomd.xml’ (IP: 99.86.61.79)
Error: Failed to download metadata for repo ‘download.docker.com_linux_centos_’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

]]>
By: Steven https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-22913 Fri, 26 Mar 2021 09:19:26 +0000 http://www.linuxtechi.com/?p=9327#comment-22913 you have to add on last step to be able to check the command “docker-compose –version” :

ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

]]>
By: acanire https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-22115 Sun, 25 Oct 2020 07:00:21 +0000 http://www.linuxtechi.com/?p=9327#comment-22115 I actually removed both podman and buildah on my end and works perfectly fine

]]>
By: dsykesmiw https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-22026 Sat, 17 Oct 2020 17:08:19 +0000 http://www.linuxtechi.com/?p=9327#comment-22026 Perfect, its works!

]]>
By: Prem Buczkowski https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-20892 Thu, 02 Jul 2020 22:52:19 +0000 http://www.linuxtechi.com/?p=9327#comment-20892 In reply to Gunnar Thielebein.

Man, thanks. Just don’t copy these commands since minus signs got replaced into dashes!

]]>
By: neingeist https://www.linuxtechi.com/install-docker-ce-centos-8-rhel-8/#comment-20741 Sat, 20 Jun 2020 12:37:42 +0000 http://www.linuxtechi.com/?p=9327#comment-20741 If you disable CentOS’ container-tools module you can install the latest Docker CE using docker-ce.repo, that is no more –nobest necessary:

dnf module disable container-tools
dnf install docker-ce docker-ce-selinux

]]>