Last active
December 22, 2016 23:03
-
-
Save arhea/a604f63d748731c0a71d02f49959dfaf to your computer and use it in GitHub Desktop.
Docker JSON File Log Options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--log-driver json-file # logging driver | |
--log-opt max-size=50m # max size of a log file | |
--log-opt max-file=4 # number of files to create before discarding logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment