Skip to content

Instantly share code, notes, and snippets.

@arhea
Last active December 22, 2016 23:03
Show Gist options
  • Save arhea/a604f63d748731c0a71d02f49959dfaf to your computer and use it in GitHub Desktop.
Save arhea/a604f63d748731c0a71d02f49959dfaf to your computer and use it in GitHub Desktop.
Docker JSON File Log Options
--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