p1c2u / vscode-docker-compose

Docker Compose Extension for Visual Studio Code
MIT License
18 stars 8 forks source link

docker-compose: command not found #59

Open huangsijun17 opened 10 months ago

huangsijun17 commented 10 months ago

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 commented 8 months ago

getting the same error on windows 11

image

cocoonkid commented 3 months ago

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

huangsijun17 commented 3 months ago

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