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

docker-compose: command not found #59

Open
huangsijun17 opened this issue Jan 18, 2024 · 3 comments
Open

docker-compose: command not found #59

huangsijun17 opened this issue Jan 18, 2024 · 3 comments

Comments

@huangsijun17
Copy link

huangsijun17 commented Jan 18, 2024

The new version of docker-ce I installed in Rocky 9, comes with the docker-compose-plugin package. The docker-compose command becomes docker compose. However, this plugin is not compatible.
After adding alias docker-compose='docker compose' in /etc/bashrc, the plug-in will be restored.

@Ergoglobe
Copy link

getting the same error on windows 11

image

@cocoonkid
Copy link

cocoonkid commented Jul 22, 2024

It works for me on mac and linux with the lates "docker compose".
Is this issues only existing in the Windows extension?

@huangsijun17
Copy link
Author

It works for me on mac and linux with the lates "docker compose". Is this issues only existing in the Windows extension?

In Windows systems, Docker-Compose.exe still exists.

Microsoft Windows [版本 10.0.22631.3880]
(c) Microsoft Corporation。保留所有权利。

C:\Users\huang>where docker-compose
C:\Program Files\Docker\Docker\resources\bin\docker-compose
C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe

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

3 participants