Created
June 14, 2018 03:21
-
-
Save ykyuen/1d727f9e18fc08f7465c8c16bc018185 to your computer and use it in GitHub Desktop.
docker-container-log-rotation-03
This file contains hidden or 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
$ docker run \ | |
--log-driver json-file \ | |
--log-opt max-size=10m \ | |
--log-opt max-file=10 \ | |
alpine echo hello world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment