Created
January 8, 2020 15:05
-
-
Save achraf-jeday/9510fed879793389e9cd295d241f3f40 to your computer and use it in GitHub Desktop.
docker events&
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker events& | |
Then run your failing docker run ... command. Then you should see something like the following on screen: | |
2015-12-22T15:13:05.503402713+02:00 xxxxxxxacd8ca86df9eac5fd5466884c0b42a06293ccff0b5101b5987f5da07d: (from xxx/xxx:latest) die | |
Then you can get the startup hex id from previous message or the output of the run command. Then you can use it with the logs command: | |
docker logs <copy the instance id from docker events messages on screen> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment