Skip to content

Instantly share code, notes, and snippets.

@guilhermevini
Created August 9, 2019 17:28
Show Gist options
  • Save guilhermevini/ec0c6f79c54332414f719995be330b69 to your computer and use it in GitHub Desktop.
Save guilhermevini/ec0c6f79c54332414f719995be330b69 to your computer and use it in GitHub Desktop.
install docker-compose on amazon linux 2
#!/bin/bash
# https://github.com/docker/compose/tags
curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment