-
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
Install docker-compose v2.x system-wide #8687
Comments
docker compose V2 is a distinct architecture vs Compose V1 |
Maybe we should update the readme to mention |
Yes, there's a couple of locations to install it globally; if they didn't change between the proposal and implementation (docker/cli#1534); Unix-like OSes :
On Windows:
|
so I have to download docker-compose in both directories? |
nope, one of those |
did, so I think I have to restart docker right? |
no you don't have to, this is all taking place on the CLI side |
it works flawlessly, thank you for your kind support |
one last thing, there's a way to enable the autocompletition on the new docker compose ? I got the completition for docker run, docker exec, etc. but not for compose |
This needs support from the |
Will there be an option to use something like |
It will be distributed with the |
I will create a PR for this if that's OK. |
It would be useful to add these instructions to the official documentation (https://docs.docker.com/compose/cli-command/#install-on-linux) |
Description
How to install docker-compose v2.x system-wide instead of copying it into each users' home?
Steps to reproduce the issue:
/usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Describe the results you received:
None of
docker-compose
commands works. (docker-compose ps
,docker-compose up
,docker-compose down
)All of them returns:
Describe the results you expected:
Install it system wide and it works.
Output of
docker compose version
:docker-compose version
does not work, but I've installed 2.0.0.Output of
docker info
:The text was updated successfully, but these errors were encountered: