Do you know what’s happening with your Docker installation?

Whether you’re deploying applications on premise or in the cloud, you need to monitor your Docker installation, and that may not be as straightforward as it seems. Get the data you need, when you need it, with this free excerpt from the Docker Cookbook.

Docker has evolved quickly over the years and its ecosystem is huge. Finding the right tools for your particular situation can be challenging as there are always multiple ways of setting up a cluster, building an overlay network, logging, etc.

This excerpt from the bestselling Docker Cookbook, Chapter 9: Monitoring Containers, gives you thoroughly vetted recipes for setting up, logging, and analyzing your Docker Logs. You’ll find multiple solutions and expert advice—not to mention cut-and-paste code—to help you solve everyday problems.

The excerpt covers these topics and more:

  • Getting Detailed Information About a Container with docker inspect

  • Obtaining Usage Statistics of a Running Container

  • Listening to Docker Events on Your Docker Hosts

  • Getting the Logs of a Container with docker logs

  • Using a Different Logging Driver than the Docker Daemon

  • Using Logspout to Collect Container Logs

  • Managing Logspout Routes to Store Container Logs

  • Using Elasticsearch and Kibana to Store and Visualize Container Logs


  • This field is for validation purposes and should be left unchanged.

Do you know what’s happening with your Docker installation?