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

by Sandeep B.

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.

If this post helps you in any way please consider a donation

Donate with PayPal :

md-donate

You may also like

2 comments

Harry February 19, 2021 - 7:24 pm

Alright, but you haven’t explained how you configured each container to be managed by CWP.

Reply
Sandeep B. February 20, 2021 - 2:10 am

join our forum and you can ask there. You can manage Docker from CLI or via Docker GUI application

Reply

Leave a Comment