Created
February 8, 2021 06:51
-
-
Save withakay/c7dadba4e153f8582d8ff85f91c2b17b to your computer and use it in GitHub Desktop.
Install the latest docker-compose
This file contains hidden or 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 | |
| # A script that will always install the latest docker-compose. | |
| # Execute as root. | |
| # | |
| # See official docs for more | |
| # https://docs.docker.com/compose/install/ | |
| # | |
| curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose | |
| # Optional, create symlink short alias | |
| # sudo ln -s /usr/local/bin/docker-compose /usr/local/bin/doco |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment