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

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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *