This post is a summary of how to setup Docker under Debian, and use the compose plugin to run services. Most of the information presented here is copied verbatim from the sources listed in the reference section below. Setting up docker and docker-compose First remove any older versions of docker that are already installed in the system, and then install some useful tools. $ sudo apt purge docker docker-engine docker.io containerd runc $ sudo apt update $ sudo apt install ca-certificates curl ...