Skip to content

Instantly share code, notes, and snippets.

@renaco
Created October 19, 2018 20:24
Show Gist options
  • Save renaco/041ac3b3bbca0496c49e841f80fdfbbe to your computer and use it in GitHub Desktop.
Save renaco/041ac3b3bbca0496c49e841f80fdfbbe to your computer and use it in GitHub Desktop.
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
# Add Docker's official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Set up the repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
# Update source lists
sudo apt-get update
# Install Docker
sudo apt-get install docker-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment