change docker daemon.json - more flexible

This commit is contained in:
buildplan
2025-11-10 14:26:36 +00:00
committed by GitHub
parent 39b656ec8f
commit f8b9e0ef31

View File

@@ -3818,19 +3818,31 @@ install_docker() {
"log-driver": "json-file", "log-driver": "json-file",
"log-opts": { "log-opts": {
"max-size": "10m", "max-size": "10m",
"max-file": "3" "max-file": "5",
"compress": "true"
}, },
"live-restore": true, "live-restore": true,
"dns": ["9.9.9.9", "1.1.1.1", "208.67.222.222"], "dns": [
"9.9.9.9",
"1.1.1.1",
"208.67.222.222"
],
"default-address-pools": [
{
"base": "172.80.0.0/16",
"size": 24
}
],
"userland-proxy": false, "userland-proxy": false,
"no-new-privileges": true,
"icc": false,
"default-ulimits": { "default-ulimits": {
"nofile": { "nofile": {
"Name": "nofile", "Name": "nofile",
"Hard": 64000, "Hard": 64000,
"Soft": 64000 "Soft": 64000
} }
},
"features": {
"buildkit": true
} }
} }
DAEMONFILE DAEMONFILE