Add note about installing it system-wide

Signed-off-by: Amin Vakil <info@aminvakil.com>
This commit is contained in:
Amin Vakil 2021-09-28 22:00:35 +03:30 committed by Nicolas De loof
parent 6e9d9bf86d
commit 3dcbc13742
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ You can download Docker Compose binaries from the
[release page](https://github.com/docker/compose/releases) on this repository. [release page](https://github.com/docker/compose/releases) on this repository.
Copy the relevant binary for your OS under `$HOME/.docker/cli-plugins/docker-compose` Copy the relevant binary for your OS under `$HOME/.docker/cli-plugins/docker-compose`
Or copy it into one of these folders for installing it system-wide:
* `/usr/local/lib/docker/cli-plugins` OR `/usr/local/libexec/docker/cli-plugins`
* `/usr/lib/docker/cli-plugins` OR `/usr/libexec/docker/cli-plugins`
(might require to make the downloaded file executable with `chmod +x`) (might require to make the downloaded file executable with `chmod +x`)
### Backward compatibility ### Backward compatibility