To list only the stopped Docker containers, you can use the
-f shorthand) option with
status=exited on any of the following commands:
docker container ls;
docker container list.
docker ps -f "status=exited"
docker container ls -f "status=exited"
docker container list -f "status=exited"
Hope you found this post useful. It was published . Please show your love and support by sharing this post.