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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
| { "cgroup-parent": "systemd.slice", "data-root": "/data/docker", "default-ulimits": { "nofile": { "Name": "nofile", "Hard": 65535, "Soft": 65535 }, "nproc": { "Name": "nproc", "Hard": 65535, "Soft": 65535 } }, "insecure-registries": [], "log-driver": "json-file", "log-opts": { "max-file": "3", "max-size": "100m" } }
完整版: { "cgroup-parent": "systemd.slice", "data-root": "/var/lib/docker", "default-ulimits": { "nofile": { "Name": "nofile", "Hard": 65535, "Soft": 65535 }, "nproc": { "Name": "nproc", "Hard": 65535, "Soft": 65535 } }, "exec-opts": [ "native.cgroupdriver=systemd" ], "insecure-registries": [], "log-driver": "json-file", "log-opts": { "max-file": "3", "max-size": "100m" }, "max-concurrent-downloads": 10, "max-concurrent-uploads": 5, "registry-mirrors": [ "https://pqbap4ya.mirror.aliyuncs.com" ], "storage-driver": "overlay2", "storage-opts": [ "overlay2.override_kernel_check=true" ] }
|