Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A little bash that install Docker in .deb linux. For jessie and above.
echo "Removendo versoes pre-existentes... "
sudo apt-get remove docker docker-engine
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
echo "Instalando Curl... "
sudo apt install -y curl
curl -fsSL | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] \
$(lsb_release -cs) \
sudo apt-get update
echo "Instalando Docker-ce... "
sudo apt-get install docker-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.