Skip to content

Instantly share code, notes, and snippets.

@noudadrichem
Created January 13, 2021 20:07
Show Gist options
  • Save noudadrichem/907ab60ac5713c8fbe1c61369f47ad95 to your computer and use it in GitHub Desktop.
Save noudadrichem/907ab60ac5713c8fbe1c61369f47ad95 to your computer and use it in GitHub Desktop.
Setup docker on Ubuntu 20.04
change NAME
echo '=> Installing docker...'
# Docker
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker NAME
docker run hello-world
echo '=> Installing compose...'
# Compose
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser
sudo pip3 -v install docker-compose
echo '=> END'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment