Docker on RHEL/CentOS 8

  • Views Views: 117
  • Last updated Last updated:
  • Installing Docker on RHEL/CentOS 8
    As of this writing, Docker Inc. still has not supported Enterprise Linux 8. Therefore, we need to work around this by installing CentOS 7's package on these operating systems.

    Quick installation script:

    curl -sSL | sudo bash

    If you prefer to do this manually instead, follow the instructions below:

    Step 1: Install dependencies:

    dnf install -y dnf-utils device-mapper-persistent-data lvm2

    Step 2: Add Docker's repository:

    dnf config-manager --add-repo=

    Step 3: Install docker with the --nobest tag (which would let you install EL7's package)

    dnf install -y docker-ce --nobest

    Step 4: Start Docker & Set it to run at Startup

    systemctl enable docker
    systemctl start docker
  • Loading…