Skip to content

Instantly share code, notes, and snippets.

Last active Apr 28, 2020
What would you like to do?
Install docker on debian 9
apt-get update -y
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common -y
curl -fsSL | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=amd64] \
$(lsb_release -cs) \
apt-get update -y
apt-get install -y docker-ce docker-ce-cli
# install compose
curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
# bash <(curl -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment