Skip to content

Instantly share code, notes, and snippets.

@DarkPark
Last active July 6, 2018 09:36
Show Gist options
  • Save DarkPark/224ebcadf172aabb3291583f71231730 to your computer and use it in GitHub Desktop.
Save DarkPark/224ebcadf172aabb3291583f71231730 to your computer and use it in GitHub Desktop.
docker installation instructions
#!/usr/bin/env bash
# more details:
# https://docs.docker.com/install/linux/docker-ce/ubuntu/
sudo apt update
sudo apt --yes install software-properties-common apt-transport-https ca-certificates curl
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt --yes install docker-ce
# https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
sudo usermod --append --groups docker $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment