How to install Docker on CentOS 8

Written by Yujin Boby

Edit in WordPress

RHEL replaced Docker on RHEL 8 (CentOS 8) with podman. To install Docker on CentOS, you can do the fallowing steps.

Install yum-utils

yum install -y yum-utils

Add Docker repository

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Install Docker with

yum install docker-ce docker-ce-cli containerd.io

Enable docker to start on boot

systemctl enable docker

Start docker

systemctl start docker

Check the status of the docker

systemctl status docker

Back to docker