Prevent docker logs from filling drive

This commit is contained in:
Taylor Helsper 2022-03-20 21:01:15 -05:00
parent 4219ffa969
commit 27c6d83786

View File

@ -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"
}
}