Skip to content
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

Closed
wants to merge 8 commits into from
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ Or copy it into one of these folders for installing it system-wide:

(might require to make the downloaded file executable with `chmod +x`)

Or you can use the following command to dynamically pull the latest version of `Compose` and install it on your machine:
wiseaidev marked this conversation as resolved.
Show resolved Hide resolved

```bash
sudo curl -fSL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-$(uname -m)" --create-dirs -o /usr/local/libexec/docker/cli-plugins/docker-compose && sudo chmod +x /usr/local/libexec/docker/cli-plugins/docker-compose
wiseaidev marked this conversation as resolved.
Show resolved Hide resolved
```

You can verify the installation by executing the following on your terminal:

```bash
~/.docker/cli-plugins/docker-compose --version
wiseaidev marked this conversation as resolved.
Show resolved Hide resolved
Docker Compose version v2.0.1
```

For more information about the installation process, consider reading the [official documentation](https://docs.docker.com/compose/install/).

Quick Start
-----------
Expand Down