diff --git a/rootfs/standard/etc/docker/daemon.json b/rootfs/standard/etc/docker/daemon.json index b7415f8f..3869e092 100644 --- a/rootfs/standard/etc/docker/daemon.json +++ b/rootfs/standard/etc/docker/daemon.json @@ -1,3 +1,8 @@ { - "data-root": "/mnt/hdd/mynode/docker" + "data-root": "/mnt/hdd/mynode/docker", + "log-driver": "json-file", + "log-opts": { + "max-size": "10m", + "max-file": "3" + } } \ No newline at end of file