Skip to content

Instantly share code, notes, and snippets.

@matutter
Created May 4, 2023 03:45
Show Gist options
  • Save matutter/da96e05f49d664cf0c31c6379dfc018b to your computer and use it in GitHub Desktop.
Save matutter/da96e05f49d664cf0c31c6379dfc018b to your computer and use it in GitHub Desktop.
docker-ce install on debian
apt install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg \
| sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
| sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt install docker-ce docker-ce-cli containerd.io -y
usermod -aG docker $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment