daemon.json for docker, no service restart!

This commit is contained in:
2020-06-24 19:39:37 +02:00
parent 631dd8cd06
commit 1a3898cdc4
3 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1 @@
KUBELET_EXTRA_ARGS="--cgroup-driver=systemd --runtime-cgroups=/systemd/system.slice --kubelet-cgroups=/systemd/system.slice --fail-swap-on=false"

View File

@@ -0,0 +1,12 @@
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
"storage-driver": "overlay2",
"insecure-registries" : [
"docker-registry.lan"
]
}