Move Docker configuration to daemon.json (#2116)
This is more readable than passing arguments to the daemon directly. It also shortens the ExecStart command significantly, which is stored in every log entry in systemd-journald.
This commit is contained in:
11
buildroot-external/rootfs-overlay/etc/docker/daemon.json
Normal file
11
buildroot-external/rootfs-overlay/etc/docker/daemon.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"storage-driver": "overlay2",
|
||||
"log-driver": "journald",
|
||||
"experimental": true,
|
||||
"ip6tables": true,
|
||||
"log-opts": {
|
||||
"tag": "{{.ImageName}}/{{.Name}}"
|
||||
},
|
||||
"data-root": "/mnt/data/docker",
|
||||
"deprecated-key-path": "/mnt/overlay/etc/docker/key.json"
|
||||
}
|
||||
Reference in New Issue
Block a user