Skip to content

Instantly share code, notes, and snippets.

View jonathanccalixto's full-sized avatar

Jonathan C. Calixto jonathanccalixto

  • Yanotec Sistemas e serviços
  • Belo Horizonte, MG, BR
View GitHub Profile
@jonathanccalixto
jonathanccalixto / install_docker.sh
Created February 3, 2021 17:05
Install docker for Linux like a Debian
# Donwloads project
echo "\033[0;32m## Installing \033[1;34mdocker dependecies\033[0;37;00m"
sudo apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
echo "\033[0;32m## Adding \033[1;34mdocker gpg key\033[0;37;00m"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -f -
sudo apt-key fingerprint 0EBFCD88
echo "\033[0;32m## Adding \033[1;34mdocker respository\033[0;37;00m"
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"