How To Find Your Docker Logsby@adnanrahic

How To Find Your Docker Logs

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

By default, Docker containers emit logs to the stdout and stderr output streams. These logs are stored on the Docker host in JSON files by default. The default logging driver is json-file. You need to ship logs to a central location and enable log rotation for your Docker containers. You collect the logs with a log aggregator and store them in a place where they’ll be available forever. The solution is to deploy a dedicated Docker Log Shipper to collect logs and collect them.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Find Your Docker Logs
Adnan Rahić HackerNoon profile picture

@adnanrahic

Adnan Rahić


Receive Stories from @adnanrahic

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!