docker container ls --filter status=exited

Category: Docker

docker container ls --filter status=exited

List containers that have exited

Shows only stopped containers, useful for spotting crash loops and leftovers. Filters like status=running and status=paused also exist. Combine with -q to feed IDs into other commands.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.