Skip to content

76creates/docker-file-log-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker File Log Driver

Test project that aims to save Docker log stdout and stderr onto separate files on the host machine, it saves them in plain text. This is my first Docker plugin, and I mangled a lot of local, jsonfile log driver code to make this one, so use it for testing/insipration for now.

Installing and using

mkdir -p /data/output
make plugin
docker run --log-driver file-log-driver:v1  -d centos bash -c 'for i in {1..100000}; do echo $i; done'

After this you should have your output files in /data/output/<container_id>/

Have fun!

About

Output Docker stdout/stderr to a host machine directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published