Installing Docker on CentOS 7

How to install Docker Community Edition on CentOS 7.

Docker is software for automating the deployment and management of applications using container-level virtualization. It lets you package an application with all its dependencies into an isolated container that can be moved to any Linux system with cgroups support.

Docker

Installation

Update the package list:

sudo yum check-update

Install Docker from the official repository:

curl -fsSL https://get.docker.com/ | sh

Start the Docker daemon:

sudo systemctl start docker

Check the service status:

sudo systemctl status docker

Expected output:

● 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)

Once installed, both the Docker service and the docker command-line client will be available on the server.

Installing via One-Click-Apps

Docker can also be installed in one click when placing an order. Select a VPS plan and choose Docker under Applications.

Installing Docker via One-Click-Apps Installing Docker via One-Click-Apps

Help

If you have any questions or need assistance, please contact us through the ticket system — we're always here to help!

Need help?Our engineers will help you free of charge with any question in minutesContact us