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

Advertisement

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

Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement