Skip to content

Instantly share code, notes, and snippets.

@loinguyenduc101
Last active July 29, 2017 11:17
Show Gist options
  • Save loinguyenduc101/ab3688f8d87be8be649ade83e5f02bc6 to your computer and use it in GitHub Desktop.
Save loinguyenduc101/ab3688f8d87be8be649ade83e5f02bc6 to your computer and use it in GitHub Desktop.
install docker on debian 9 stretch
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