Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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