Installing Docker on your VPS

To use Docker you will need to use a KVM based VPS to run a newer (3.xx or 4.xx) kernel which docker requires

For the Auto Installation, you just need to download the script in your server and need to execute that script. Just run the following commands in your server.(Installation process may take few minutes)

chmod a+x

For manual installation on Debian

Install packages to allow apt to use a repository over HTTPS,

apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

Add Docker's official GPG key,

curl -fsSL | sudo apt-key add -

Add the Docker Stable repository,

add-apt-repository \
   "deb [arch=amd64] \
   $(lsb_release -cs) \

Update the apt package index,

apt-get update

Install the latest version of Docker,

apt-get install docker-ce

For manual installation on CentOS

Install the EPEL Package Repository and update your system,

yum install epel-release

yum update

Next, we install the docker package,

yum install docker-io

Once the install finishes, start the docker service,

service docker start

You can configure Docker to automatically start on-boot/reboot as well, using chkconfig,

chkconfig docker on