Created
June 17, 2017 16:29
-
-
Save techiesathya/ba05e4ed2de5ff870b23b3af00dce91f to your computer and use it in GitHub Desktop.
Installing docker in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command to add GPG key | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# Command to add docker repository to APT source | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
# Update package database | |
sudo apt-get update | |
# Command to install from Docker repo instead of Ubuntu repo | |
apt-cache policy docker-ce | |
# Command to install docker | |
sudo apt-get install -y docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment