How to install Docker on CentOS 8
RHEL replaced Docker on RHEL 8 (CentOS 8) with podman. To install Docker on CentOS, you can do the fallowing steps.
Install yum-utils
1 |
yum install -y yum-utils |
Add Docker repository
1 |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo |
Install Docker with
1 |
yum install docker-ce docker-ce-cli containerd.io |
Enable docker to start on boot
1 |
systemctl enable docker |
Start docker
1 |
systemctl start docker |
Check the status of the docker
1 |
systemctl status docker |
Back to docker