1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
{ "max-concurrent-downloads": 20, "data-root": "/var/lib/docker", "exec-root": "/var/run/docker", "log-driver": "json-file", "bridge": "none", "oom-score-adjust": -1000, "live-restore": true, "default-shm-size": "1G", "exec-opts": ["native.cgroupdriver=cgroupfs"], "storage-driver": "overlay2", "storage-opts":["overlay2.override_kernel_check=true"], "debug": false, "registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn", "https://hub-mirror.c.163.com/" ], "log-opts": { "max-size": "100M", "max-file": "10" }, "default-ulimits": { "nofile": { "Name": "nofile", "Hard": 65535, "Soft": 65535 }, "nproc": { "Name": "nproc", "Hard": 65535, "Soft": 65535 }, "core": { "Name": "core", "Hard": -1, "Soft": -1 } } } |
1 2 |
可将cgroupfs驱动改成systemd "exec-opts": ["native.cgroupdriver=systemd"], |
- 本文固定链接: https://www.yoyoask.com/?p=9142
- 转载请注明: shooter 于 SHOOTER 发表