Skip to content

Instantly share code, notes, and snippets.

@mffiedler
Last active September 20, 2017 16:19
Show Gist options
  • Save mffiedler/509f9008360314c3bc772f3abeabedac to your computer and use it in GitHub Desktop.
Save mffiedler/509f9008360314c3bc772f3abeabedac to your computer and use it in GitHub Desktop.
Configure docker for json-file
In /etc/sysconfig/docker
1. In OPTIONS, remove --log-driver=journald
2. In OPTIONS, add --log-opt max-size=100M --log-opt max-file=3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment