Created
July 21, 2020 13:00
-
-
Save KROSF/25732777d066e39c76ab529e28a8f30c to your computer and use it in GitHub Desktop.
Install docker and docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
COMPOSE_VERSION=1.26.2 | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install -y curl | |
curl -fsSL https://get.docker.com | sudo sh | |
sudo curl -L "https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/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