This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Difference in behavior from docker-compose and docker compose (stop) #1797
Labels
duplicate
This issue or pull request already exists
Description of the issue
For a compose file where services describe depenendencies (i.e.
service-b
declares adependes_on
dependency onservice-a
,docker-compose stop service-b
will only stopservice-b
, whiledocker compose stop service-b
will stop both services,service-a
andservice-b
, this is a breaking change and there is no flag (to my best knowledge) that allows the usage with the same behavior asdocker-compose
.Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
Observed result
service-a is also stopped.
Expected result
only service-b should be stopped
Stacktrace / full error message
Additional information
Docker for Mac, macOS version 11.4
The text was updated successfully, but these errors were encountered: