Skip to Main Content
Learn Docker in a Month of Lunches
book

Learn Docker in a Month of Lunches

by Elton Stoneman
July 2020
Beginner content levelBeginner
464 pages
12h 39m
English
Manning Publications
Content preview from Learn Docker in a Month of Lunches

19 Writing and managing application logs with Docker

Logging is usually the most boring part of learning a new technology, but not so with Docker. The basic principle is simple: you need to make sure your application logs are being written to the standard output stream, because that’s where Docker looks for them. There are a couple of ways to achieve that, which we’ll cover in this chapter, and then the fun begins. Docker has a pluggable logging framework--you need to make sure your application logs are coming out from the container, and then Docker can send them to different places. That lets you build a powerful logging model, where the application logs from all your containers are sent to a central log store with a searchable UI on top of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Kubernetes in a Month of Lunches

Learn Kubernetes in a Month of Lunches

Elton Stoneman
Docker Deep Dive

Docker Deep Dive

Nigel Poulton
Docker: Up & Running, 2nd Edition

Docker: Up & Running, 2nd Edition

Sean P. Kane, Karl Matthias
Docker in Action, Second Edition

Docker in Action, Second Edition

Stephen Kuenzli, Jeffrey Nickoloff

Publisher Resources

ISBN: 9781617297052Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link