Skip to content

Instantly share code, notes, and snippets.

View Veronicapdi's full-sized avatar

Veronica P. Veronicapdi

  • UK
  • 04:33 (UTC -12:00)
View GitHub Profile
@stardigits
stardigits / install-docker.sh
Last active October 18, 2024 00:23
Installing Docker in MX Linux 21.3
wget -O docker.gpg https://download.docker.com/linux/debian/gpg
gpg --keyid-format 0xlong docker.gpg 2>/dev/null
gpg --keyid-format 0xlong docker.gpg 2>/dev/null | grep -sq 0x8D81803C0EBFCD88 && sudo apt-key add docker.gpg
# For MX 21:
CODENAME=bullseye
# For MX 19 :
#CODENAME=buster
# For MX 18 :
#CODENAME=stretch
echo "deb [arch=amd64] https://download.docker.com/linux/debian $CODENAME stable" | sudo tee /etc/apt/sources.list.d/docker.list