Skip to content

Instantly share code, notes, and snippets.

@brotandgames
Last active May 8, 2019 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brotandgames/139a691fca456e71e0bffe84108cecb0 to your computer and use it in GitHub Desktop.
Save brotandgames/139a691fca456e71e0bffe84108cecb0 to your computer and use it in GitHub Desktop.
node1.sh
export DOCKER_VERSION=18.06.2
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt list docker-ce -a
sudo apt-get install -y docker-ce=${DOCKER_VERSION}~ce-0~ubuntu-$(lsb_release -cs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment