Docker
Single Script Installer for Docker
Docker provides an official script for installing docker on debian based systems which installs all required packages including docker
and docker compose
.
Follow the below steps to install docker.
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
The script might take a while depending on your internet speed and available system resources. Once done, All we have to do is enable the docker daemon on systemctl.
systemctl enable --now docker