Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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