Last active
July 29, 2017 11:17
-
-
Save loinguyenduc101/ab3688f8d87be8be649ade83e5f02bc6 to your computer and use it in GitHub Desktop.
install docker on debian 9 stretch
This file contains hidden or 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
remove old version | |
#apt-get remove docker docker-engine | |
install all preRequisite packages | |
#apt install apt-transport-https \ | |
ca-certificates software-properties-common \ | |
curl apt-transport-https | |
add docker repo | |
#sudo add-apt-repository \ | |
"deb [arch=amd64] | |
https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) stable" | |
update repo | |
#apt update | |
install docker | |
#apt install docker-ce | |
testing | |
#docker -v | |
#docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment