Ubuntu – How to get the last unexpected exit code of the docker container?
I use docker-compose to maintain a project, and set restart=always to all the docker service. But my API host crashed twice today, I look through the logs docker logs -f <container-id>. No cue found about the crash reason. The logs…