-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚡ Added a handy command to dynamically fetch the latest version of compose and install it on Linux. #8735
Conversation
…compose and install it on Linux. Signed-off-by: Harmouch101 <[email protected]>
Since there is no version number in the release file name, you can just use the latest release link that GitHub officially supports. Linking to releases - GitHub Docs
Note that the curl supports The following commands works for Linux and macOS. However it is not recommended to install docker compose blindly. sudo curl -fSL "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s|tr DL dl)-$(uname -m)" --create-dirs -o /usr/local/libexec/docker/cli-plugins/docker-compose && sudo chmod +x /usr/local/libexec/docker/cli-plugins/docker-compose Refer to Docker Docs: Also, if you hardcode the installation to |
Signed-off-by: Harmouch101 <[email protected]>
Signed-off-by: Harmouch101 <[email protected]>
Signed-off-by: Harmouch101 <[email protected]>
Signed-off-by: Harmouch101 <[email protected]>
closing as obsolete |
Signed-off-by: Harmouch101 [email protected]
What I did
Consider reading the title which is self-explanatory of what I did.
Combining the previous commands would result in the following:
Related issue
An enhancement rather than a bug fix.
(not mandatory) A picture of a cute animal, if possible in relation to what you did
🐈