Last active
July 20, 2022 18:11
-
-
Save tiagofrancafernandes/9c1758936118a7f677ccf03f44ae3927 to your computer and use it in GitHub Desktop.
Docker and Docker compose install (Linux)
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
#!/bin/bash | |
curl -fsSL https://get.docker.com -o /tmp/get-docker.sh && sudo sh /tmp/get-docker.sh && \ | |
sudo usermod -aG docker $USER && newgrp docker && \ | |
newgrp docker ; \ | |
sudo curl -L "github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose && \ | |
sudo chmod +x /usr/bin/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
#!/bin/bash | |
echo "$(uname -s)-$(uname -m)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment