This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
docker compose ps
does not list stopped containers and their exit status
#1671
Labels
compatibility
Compatibility with docker-compose
Description
I have found that there are some differences between
docker-compose ps
anddocker-compose ps
regarding to stopped containers (when youdocker compose stop some-service1
):Here it is listed (old version)
Here it is not listed (new version)
You can force it using the
-a
parameter, but I am not sure if there won't be any other containers listed in other scenarios (eg.run
command).Note that also both containers are flagged as
unhealthy
even though the second one ended gracefully (Exit 0
).Steps to reproduce the issue:
Describe the results you received:
Different output in newer version
Describe the results you expected:
Same output as in older version
Output of
docker version
:I am using
docker-for-mac
:The text was updated successfully, but these errors were encountered: