paint-brush
How To Find Your Docker Logsby@adnanrahic
299 reads

How To Find Your Docker Logs

by Adnan Rahić5mMay 10th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Adnan Rahić

Adnan Rahić

@adnanrahic

Senior Developer Advocate @ Tracetest.io. Book/Course Author. Failed startup founder and ex-freeCodeCamp local leader.

About @adnanrahic
LEARN MORE ABOUT @ADNANRAHIC'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Adnan Rahić HackerNoon profile picture
Adnan Rahić@adnanrahic
Senior Developer Advocate @ Tracetest.io. Book/Course Author. Failed startup founder and ex-freeCodeCamp local leader.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite