Installing Docker on Debian 9
How to install Docker Community Edition on Debian 9.
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.

Installation
Update the package list:
sudo apt update
Install the packages required for apt to work over HTTPS:
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Add the GPG key for the official Docker repository:
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
Add the Docker repository to the APT sources list:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
Update the package database:
sudo apt update
Confirm that Docker will be installed from the Docker repository rather than the default Debian one:
apt-cache policy docker-ce
The Installed field should show (none) and the Candidate field should show a version from the Docker repository.
Install Docker:
sudo apt install docker-ce
After installation, Docker starts automatically on system boot. Check the service status:
sudo systemctl status docker
Expected output:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-05-06 15:15:44 MSK; 2min 51s ago
Docs: https://docs.docker.com
Main PID: 6594 (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
Help
If you have any questions or need assistance, please contact us through the ticket system — we're always here to help!