-
Improvement
-
Resolution: Unresolved
-
Normal
-
None
Exemple:
Docker daemon: Create file /etc/docker/daemon.json:
{{{ "log-driver": "json-file", "log-opts": { "max-size": "2m", "max-file": "5", } } }}
Docker run:
{{docker run -it --log-driver json-file --log-opt max-size=2m,max-file=5 alpine ash }}