Prevent docker logs from filling drive
This commit is contained in:
parent
4219ffa969
commit
27c6d83786
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user