© Deepak Vohra 2017

Deepak Vohra, Docker Management Design Patterns, https://doi.org/10.1007/978-1-4842-2973-6_11

11. Logging and Monitoring

Deepak Vohra

(1)White Rock, British Columbia, Canada

Docker includes several built-in logging drivers for containers, such as json-file, syslog, journald, gelf, fluentd, and awslogs. Docker also provides the docker logs command to get the logs for a container. Docker 1.13 includes an experimental feature for getting a Docker service log using the docker service logs command.

The Problem

Docker Swarm mode does not include a native monitoring service for Docker services and containers. Also the experimental feature to get service logs is a command-line feature and required to be run per service. A logging service ...

Get Docker Management Design Patterns: Swarm Mode on Amazon Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.