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

Add support for docker compose plugin #131

Open
markonikolas opened this issue Dec 11, 2023 · 5 comments
Open

Add support for docker compose plugin #131

markonikolas opened this issue Dec 11, 2023 · 5 comments

Comments

@markonikolas
Copy link

markonikolas commented Dec 11, 2023

Is your feature request related to a problem? Please describe.

I moved to docker compose plugin while back and removed the deprecated docker-compose standalone version from my machine.
Using docker compose plugin gets you this error: docker-compose: not found

Describe the solution you'd like

I would like to see a support for docker compose plugin, and ideally remove deprecated docker-compose plugin.

Describe alternatives you've considered

I installed the standalone compose version so I can use the plugin for now.

Additional context

image

@alvinchevolleaux
Copy link

I think you can alias docker compose to docker-compose which should be a workaround for now.

@markonikolas
Copy link
Author

@alvinchevolleaux this would only work as a function not an alias since we can't have a spaces in the command itself, but I still think this should be updated since the support for standalone docker compose was dropped in the July last year.

@alvinchevolleaux
Copy link

@alvinchevolleaux this would only work as a function not an alias since we can't have a spaces in the command itself, but I still think this should be updated since the support for standalone docker compose was dropped in the July last year.

The documentation states that there is an alias by default between docker-compose and docker compose since v1 is deprecated as you say but maybe that's out of date now? https://docs.docker.com/compose/migrate/#:~:text=From%20July%202023%20Compose%20V1,supported%20versions%20of%20Docker%20Desktop.

@markonikolas
Copy link
Author

It seems like this only applies for docker desktop and not the docker engine.

With Docker Desktop, Compose V2 is always accessible as docker compose. Additionally, the Use Compose V2 setting is turned on by default, ...

@alvinchevolleaux
Copy link

It seems like this only applies for docker desktop and not the docker engine.

With Docker Desktop, Compose V2 is always accessible as docker compose. Additionally, the Use Compose V2 setting is turned on by default, ...

Ah yes you're right. It does make sense to be able to run without Docker Desktop I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants