Skip to main content

Install Docker Engine on CentOS

· One min read
Mohammad Zakery

Docker Engine

Docker Centos

Install using the rpm repository

Set up the repository

1.Install the yum-utils.

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

Install Docker Engine

2.Install Docker Engine, containerd, and Docker Compose:

sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

3.Start Docker.

sudo systemctl start docker

4.Enable Docker.

sudo systemctl enable docker