March 2017
Beginner to intermediate
925 pages
18h 11m
English
As we will be running many containers in production, it will helpful if we can watch the real-time container events for monitoring and debugging purposes. Docker containers can report events, such as create, destroy, die, export, kill, oom, pause, restart, start, stop, and unpause. In this recipe, we will see how to enable event logging and then use filters to select specific event types, images or containers.
Make sure the Docker daemon is running on the host and you can connect through the Docker client.
$ docker events
Read now
Unlock full access