docker-daemon.json

touch /etc/docker/daemon.jsoncat > /etc/docker/daemon.json <<EOF{ "oom-score-adjust": -1000, "log-driver": "json-file", "log-opts": { "max-size": "100m", "max-file": "3" }, "max-concurrent-downloads": 10, "max-concurrent-uploads": 10, "bip": "169.254.123.1/24", "registry-mirrors": ["https://2inti5wg.mirror.aliyuncs.com"], "storage-driver": "overlay2", "storage-opts": [ "overlay2.override_kernel_check=true" ]}EOFsystemctl daemon-reload && systemctl restart docker

相关文章