Skip to content

Instantly share code, notes, and snippets.

@scyto
Last active January 16, 2024 15:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scyto/83bc728e47afeb21bf42c8a96fe6ccfd to your computer and use it in GitHub Desktop.
Save scyto/83bc728e47afeb21bf42c8a96fe6ccfd to your computer and use it in GitHub Desktop.
Install docker on debian the easy way

This is the easiest way to install docker and docker compose on debian.

Better yet docker updates can be done by rerunning the script mentioned or using apt upgrade etc

Assumes you followed Debian VM Install Instructions

Install Docker

Login as yourself

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo systemctl enable docker
sudo systemctl start docker

No really thats it. Note the latest version of the script automatically installs the docker compose plugin. so no need to install python or old docker-compose python app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment