How to do it...

Follow these steps:

  1. Start the Docker events logging with the following command:
        $ docker events
  1. 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.167.181