Forum

Notifications
Clear all

How to list all the stopped / failed containers?

0
Topic starter
2 Answers
0

This should seamlessly work

docker container ls -f 'status=exited'

0

You can filter on multiple statuses by passing multiple filters on the status:

docker container ls -f 'status=exited' -f 'status=dead' -f 'status=created'

Answer
© Copyright 2024, All rights reserved by HeyCloud Innovations LLP | designed by ColorWhistle | Privacy Policy | Terms and Conditions