Docker is a software for automating the deployment and management of applications in an operating system-level virtualization environment. It allows you to package an application with all its environment and dependencies into a container that can be ported to any Linux system with kernel cgroups support and provides a container management environment
Before installing Docker, update the existing Centos package list:
``.shell
sudo yum check-update
To install the latest version of Docker, you need to consult the official Docker repository
To do this, run the command:
``.shell
curl -fsSL https://get.docker.com/ | sh
Run the Docker daemon after the installation is complete:
``.shell
sudo systemctl start docker
Make sure that the daemon starts without errors or warnings:
``.shell
sudo systemctl status docker
You will see a message like this:
``.shell
[root@kvmde54-19861 ~]# sudo systemctl status docker
Docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2020-05-05 15:04:24 MSK; 16s ago
Docs: https://docs.docker.com
Main PID: 2229 (dockerd)
Tasks: 8
Memory: 43.2M
CGroup: /system.slice/docker.service
└─2229 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/cont...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
May 05 15:04:24 kvmde54-19861.fornex.org systemd[1]: Started Docker Applicati...
May 05 15:04:24 kvmde54-19861.fornex.org dockerd[2229]: time="2020-05-05T15:0...
Hint: Some lines were ellipsized, use -l to show in full.
```
When we install Docker we get not only the Docker service but also the docker command line utility or the Docker client.
You can also use our One-Click-Apps for one-click installation to install Docker
To do so, select the required [VPS] plan(https://fornex.com/ssd-vps) and choose Applications → Docker, to install.
Please note that this will install Docker on Ubuntu 18.04.
If you have any configuration difficulties or have additional questions, you can always contact our support team via ticket system.