Docker Community Forums

Share and learn in the Docker community.

Logs for exited containers

(Venkat92gunners) #1

How to check the logs of all the exited containers? for ex: The below command will give you all the exited containers. is there any way to check the logs using a single command?

to check all the exited containers - “docker ps -a -q -f status=exited”