Follow these steps:
- Start the Docker events logging with the following command:
$ docker events
- From the other terminal, do some container/image-related operations and you will see a result similar to the following screenshot on the first terminal:
After the events collection started, I created a container to just write a message to the console. As we can see from the preceding screenshot, a container was created, started, and died.