This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |