Do you know a way to see the exited container’S ID in docker by writing commands ?
757JG5H:image Leo$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 82e11c6cd16d my-init:1.0 "sh" 6 minutes ago Exited (0) 6 minutes ago
There should be a command after docker logs which shows that all the logs (or history) of the container ?
Thank you for helps
Source: Docker Questions