Skip to content

Instantly share code, notes, and snippets.

@a8uhnf
Created August 7, 2020 17:55
Show Gist options
  • Save a8uhnf/038d23e07ee98e6c330e1f31a4310ea3 to your computer and use it in GitHub Desktop.
Save a8uhnf/038d23e07ee98e6c330e1f31a4310ea3 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
@a8uhnf
Copy link
Author

a8uhnf commented Sep 3, 2020

$ curl -LO https://gist.githubusercontent.com/a8uhnf/038d23e07ee98e6c330e1f31a4310ea3/raw/a05d9628b383010e2138515f975446c7d764331c/docker-install

$ chmod +x docker-install

$ ./docker-install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment