Author Topic: Can we install Docker CE on a CentOS CWP server?  (Read 12350 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can we install Docker CE on a CentOS CWP server?
« on: July 30, 2018, 07:41:29 PM »
And then we can have a "virtual server" inside our server, which can do things like host web apps (Node.js, Ruby on Rails, etc.)

Is this possible?

Or do we need to install nginx alongside Apache so that SOME requests can be forwarded to a 2nd server, which is set up with Docker only?

There is a project called
https://github.com/githubsaturn/captainduckduck

which installs on Docker, and allows you to be your own Heroku using your existing server hardware.
« Last Edit: July 30, 2018, 07:48:11 PM by DeveloperMcD »

Offline
*
Re: Can we install Docker CE on a CentOS CWP server?
« Reply #1 on: July 15, 2022, 05:49:23 PM »
I searched this forum for the same information and found this guide below:

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 :

Code: [Select]
yum install -y yum-utils device-mapper-persistent-data lvm2Step 2 :

Install repository :

Code: [Select]
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repoStep 3 :

Installing Docker community edition :

Code: [Select]
yum install docker-ce docker-ce-cli containerd.ioAfter the installation you need to start and enable the Docker CE service :

Code: [Select]
systemctl start docker
systemctl enable docker
Thats it you’re done check via below command if docker is running fine on your server :

Code: [Select]
docker run hello-world
credits to sandeep @ https://www.uxlinux.com/how-to-install-docker-ce-on-centos-7-8-cwp-cpanel-plesk/