How to Install Docker CE on CentOS 7/Centos Stream 8/9, CWP, Cpanel, Plesk

In this tutorial we’ll learn how to install Docker quickly in CWP control webpanel, Cpanel, Plesk or in Centos/EL based OS.

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and contain their own software, libraries and configuration files; they can communicate with each other through well-defined channels/ports.

Step 1 :

Install dependencies :

yum install -y yum-utils device-mapper-persistent-data lvm2

Step 2 :

Install repository :

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

Step 3 :

Installing Docker community edition :

yum install docker-ce docker-ce-cli containerd.io

After the installation you need to start and enable the Docker CE service :

systemctl start docker
systemctl enable docker

Thats it you’re done check via below command if docker is running fine on your server :

docker run hello-world

It will download and run the test image as container.

Back to top button