Cannot stop Docker Compose application. Reason: exit status 1
Some docker containers runs from docker-compose.yml
I can stop them one by one from menu but can't stop all from one group.
Looks like docker compose stop fired in wrong directory and have to be fired in the same directory where docker-compose.yml placed.
Take dir for first container in group
docker inspect 1c84e69c1947 --format '{{ index .Config.Labels \"com.docker.compose.project.working_dir\" }}'
and use it to exec docker compose whatever
I can confirm this. This is an issue since a long time.

I have this issue also

Confirmed for Docker Desktop 4.13.1 (90346)
+1
#1 - after fresh update
Same thing here, can't start or stop all of them at the same time, but one by one it works perfectly fine
Confirmed for Docker Desktop 4.13.1 (90346)
+1
Same issue on MacOS version
Confirmed for new Version 4.14.0 (91374) as well
Same problem here, MacOS. Docker Desktop 4.14.0 (91374).
Looks like it works in 4,14 but... You have to enable "Use Docker Compose V2" before container created.
Looks like it works in 4,14 but... You have to enable "Use Docker Compose V2" before container created.
Doesn't exactly sounds like "works" then. What if you don't use V2? Or if you don't have the option to recreate a container? This is a regression and there's no reason to close this issue as solved.
Looks like it works in 4,14 but... You have to enable "Use Docker Compose V2" before container created.
Doesn't exactly sounds like "works" then. What if you don't use V2? Or if you don't have the option to recreate a container? This is a regression and there's no reason to close this issue as solved.
Agree with you. We use composer v1 in our project
Same problem here. I downgraded to 4.12.0 and it works as before.
https://docs.docker.com/desktop/release-notes/#docker-desktop-4120
+1 facing the same issue
Still having this issue with docker compose v2 enabled.
I encountered this issue when trying to stop/delete a group of containers.
Had to stop/delete containers one by one.
+1 having exactly same issue. Never touched docker-compose v2 and my docker containers just stopped working. But works like a charm starting and stopping one by one.
Guys, I found a solution. I you are on mac the air play uses the 5000 port due to which this issue arise. I stopped the airplay and after that, this issue got solved. Checkout this link to understand better.
https://developer.apple.com/forums/thread/682332
Same here. succeed on docker compose but it is getting error. was working fine till yesterday...
Same issue here
Same issue here, but I am using Windows, and it works fine with 4.11 version but was trapped in this error with 4.15
Same +1
Confirmed for new version 4.15.0 (93002) as well
Confirmed for new version 4.16.1 (95567) also
Confirming affected also on latest version. Downgrading to 4.11 restored functionality
same issue on my pc. v4.15.0
same issue on my pc. v4.15.0
Happened to me after changing permissions to all files in folder. Changing them back fixed it.
Same issue for Docker Desktop Mac 4.16.2, Docker version 20.10.22 build 3a2c30b, Docker Compose version v2.15.1.
Containers just stop working if restarting and hangs.
Fixable with an engine restart or killall command.