logging driver
The part of Docker that decides where container logs go, such as a local file or a central log service.
In more detail
The default json-file driver writes each container output to a file on the host. Other drivers store logs more compactly on the host or send them to the system log or a central log service. Rotation settings belong here.
Related terms
- log rotation — Capping log files by size or count so old lines are deleted before they fill the disk.
- docker logs — Shows what a container main process wrote to standard output and standard error.
- standard output and standard error — The two channels a program writes normal output (stdout) and error messages (stderr) to, plus stdin for input.
Taught in
- Install Docker And Verify Your Environment — Docker Architecture & Production Containers
- One Comma, No Engine: Installing And Configuring Docker Engine — Docker Certified Associate (DCA) Exam Prep
- Forty Gigabytes Of One Log: Logging Drivers And Their Options — Docker Certified Associate (DCA) Exam Prep
- Installation Sprint: Eight Configuration Calls — Docker Certified Associate (DCA) Exam Prep
- Friday, Nine In The Morning: The Mock Exam And Its Report — Docker Certified Associate (DCA) Exam Prep
- The Night Before: Final Review And Exam Day — Docker Certified Associate (DCA) Exam Prep