Last active
July 7, 2023 11:33
-
-
Save benms/51f887e1a342be6138a8bceb2d219ebb to your computer and use it in GitHub Desktop.
Upgrade docker-compose to version 2.6.0 from the bash
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
| doc="$(which docker-compose)";vers="$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq --raw-output '.tag_name')";machine=$(uname -s| awk '{print tolower($0)}') && sudo curl -L "https://github.com/docker/compose/releases/download/${vers}/docker-compose-${machine}-$(uname -m)" -o "$doc" && sudo chmod +x "$doc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment