Do-It-Yourself: Post-Mortem Inspection
Discover how to perform post-mortem inspections on Docker containers by viewing their outputs, statuses, and detailed information. Learn to manage stopped containers with commands to analyze and remove them, helping you better understand container tooling and maintain a clean workspace.
We'll cover the following...
The hello-world container we previously ran stopped because its only job was to output text. We’ll soon run more advanced containers, but before we do that, let’s play with that stopped container in order to get a better grip of container tooling.
Run the following command on a command-line:
There is no output because there is no container currently running on your machine. Now run the following command on a command-line:
You should see output similar to the one below, although the exact container ID varies:
| Container |
|---|