Skip to content

Instantly share code, notes, and snippets.

@varun-raj
Created February 1, 2019 09:14
Show Gist options
  • Save varun-raj/70c5ef70f8f6e1bb6b672f04346d4e34 to your computer and use it in GitHub Desktop.
Save varun-raj/70c5ef70f8f6e1bb6b672f04346d4e34 to your computer and use it in GitHub Desktop.
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-get install -y docker-ce
sudo usermod -aG docker ${USER}
su - ${USER}
sudo usermod -aG docker deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment