Skip to content

Instantly share code, notes, and snippets.

@vishnuvp
Last active December 13, 2019 10:14
Show Gist options
  • Save vishnuvp/76c551a54f6ece3a4a034e3cb74232fc to your computer and use it in GitHub Desktop.
Save vishnuvp/76c551a54f6ece3a4a034e3cb74232fc to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment