The runtime's file is written by the runtime's module, not by what decides how a machine resolves (issue 190)

resolv-conf would have taken over dnsmasq's write into daemon.json — the same defect issue 190
names. docker, on every machine, now writes live-restore and reloads its own service. Log rotation
is left as each machine has it.
This commit is contained in:
jochen
2026-10-05 20:42:58 +02:00
parent 69d6b9066f
commit f20c4b749b
3 changed files with 55 additions and 68 deletions
+18
View File
@@ -50,6 +50,24 @@
"state": "running",
"boot": "enabled"
},
{
"id": "daemon",
"type": "file",
"path": "/etc/docker/daemon.json",
"mode": "0644",
"into": "json",
"content": "{\"live-restore\": true}\n"
},
{
"id": "runtime",
"type": "service",
"unit": "docker.service",
"state": "running",
"boot": "enabled",
"reload-on": [
"daemon"
]
},
{
"id": "prune-service",
"type": "file",