Docker Community Forums

Share and learn in the Docker community.

Yum repo for CentOS 8


As CentOS 8 is released, please provide the yum repo for docker ce for CentOS 8.


Thomas Stephen Lee

Hello Thomas
Official docker installation in some problem
Since the official version of the Docker CE supporting RHEL 8 / CentOS 8 is not ready yet, the docker repository currently contains Docker CE for RHEL 7 / CentOS 7 which comes with some installation caveats. If we try to install docker-ce, the system will notify us of a broken dependency problem generated when trying to install the latest version of the software.
Problem: package docker-ce-3:19.03.2-3.el7.x86_64 requires >= 1.2.2-3, but none of the providers can be installed

  • cannot install the best candidate for the job
  • package is excluded
  • package is excluded
  • package is excluded
  • package is excluded
  • package is excluded
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use no

So At the time it’s give you a some dependencies problem
But you can try to do this.

Thanks for the replies.

We are still evaluating CentOS 8.

We will start upgrading after some more time.

We are waiting for some other packages to arrive :slightly_smiling_face:

We will wait for the official version to be released.


Thomas Stephen Lee

You didn’t actually read the link. Please read the link. The is excluded error is caused by a bug in libsolv.

Steps that worked on Test machines are give below.

#For RHEL 8 and CentOS 8

$ dnf config-manager --add-repo=

#For RHEL 8

$ dnf install container-selinux

$ dnf --disablerepo=rhel-8-for-x86_64-appstream-rpms install docker-ce

#For CentOS 8

$ dnf install container-selinux

$ dnf --disablerepo=AppStream install docker-ce


Thomas Stephen Lee

Out of curiosity is getting “403 Forbidden” on all Linux repos an unfortunate accident or a decision that we were not yet informed about? Anything under linux is not 403, but somehow win and mac folders are accessible.

403 Forbidden

Code: AccessDenied
Message: Access Denied
RequestId: ...
HostId: ...

An Error Occurred While Attempting to Retrieve a Custom Error Document

Code: NoSuchKey
Message: The specified key does not exist.
Key: error.html

We are behind a firewall/proxy so we had issues with running images in RHEL 8 and CentOS 8 test machines in the internal network.
Looks like nftables support is needed.