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

Install Docker Engine

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

sudo yum install docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin

3.Start Docker.

sudo systemctl start docker

4.Enable Docker.

sudo systemctl enable docker