Created
February 28, 2022 12:03
-
-
Save SIMULATAN/ee876b72f65d725ef528b6fb205eda83 to your computer and use it in GitHub Desktop.
A simple script that just performs the official debian installation commands from the docker website - START AS ROOT!
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
apt-get remove docker docker-engine docker.io containerd runc -y | |
apt-get update -y | |
apt-get install -y \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/debian/gpg | 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/debian \ | |
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null | |
apt-get install docker-ce docker-ce-cli containerd.io -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment