Skip to content

Instantly share code, notes, and snippets.

@snpranav
Last active May 8, 2020 02:47
Show Gist options
  • Save snpranav/9cbd59153493d8681d5ea03ce850c336 to your computer and use it in GitHub Desktop.
Save snpranav/9cbd59153493d8681d5ea03ce850c336 to your computer and use it in GitHub Desktop.
This script installs docker and docker-compose on most linux distributions.
# This script has been compiled by using scripts from docker.com
curl -fsSL https://get.docker.com -o get-docker.sh;
sh get-docker.sh;
# Installing docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose;
sudo chmod +x /usr/local/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment