Created
July 7, 2020 15:56
-
-
Save giper45/1cd628680f497e391360a69e4f2bbba1 to your computer and use it in GitHub Desktop.
Full docker daemon configuration example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"authorization-plugins": [], | |
"data-root": "", | |
"dns": [], | |
"dns-opts": [], | |
"dns-search": [], | |
"exec-opts": [], | |
"exec-root": "", | |
"experimental": false, | |
"features": {}, | |
"storage-driver": "", | |
"storage-opts": [], | |
"labels": [], | |
"live-restore": true, | |
"log-driver": "json-file", | |
"log-opts": { | |
"max-size": "10m", | |
"max-file":"5", | |
"labels": "somelabel", | |
"env": "os,customer" | |
}, | |
"mtu": 0, | |
"pidfile": "", | |
"cluster-store": "", | |
"cluster-store-opts": {}, | |
"cluster-advertise": "", | |
"max-concurrent-downloads": 3, | |
"max-concurrent-uploads": 5, | |
"default-shm-size": "64M", | |
"shutdown-timeout": 15, | |
"debug": true, | |
"hosts": [], | |
"log-level": "", | |
"tls": true, | |
"tlsverify": true, | |
"tlscacert": "", | |
"tlscert": "", | |
"tlskey": "", | |
"swarm-default-advertise-addr": "", | |
"api-cors-header": "", | |
"selinux-enabled": false, | |
"userns-remap": "", | |
"group": "", | |
"cgroup-parent": "", | |
"default-ulimits": { | |
"nofile": { | |
"Name": "nofile", | |
"Hard": 64000, | |
"Soft": 64000 | |
} | |
}, | |
"init": false, | |
"init-path": "/usr/libexec/docker-init", | |
"ipv6": false, | |
"iptables": false, | |
"ip-forward": false, | |
"ip-masq": false, | |
"userland-proxy": false, | |
"userland-proxy-path": "/usr/libexec/docker-proxy", | |
"ip": "0.0.0.0", | |
"bridge": "", | |
"bip": "", | |
"fixed-cidr": "", | |
"fixed-cidr-v6": "", | |
"default-gateway": "", | |
"default-gateway-v6": "", | |
"icc": false, | |
"raw-logs": false, | |
"allow-nondistributable-artifacts": [], | |
"registry-mirrors": [], | |
"seccomp-profile": "", | |
"insecure-registries": [], | |
"no-new-privileges": false, | |
"default-runtime": "runc", | |
"oom-score-adjust": -500, | |
"node-generic-resources": ["NVIDIA-GPU=UUID1", "NVIDIA-GPU=UUID2"], | |
"runtimes": { | |
"cc-runtime": { | |
"path": "/usr/bin/cc-runtime" | |
}, | |
"custom": { | |
"path": "/usr/local/bin/my-runc-replacement", | |
"runtimeArgs": [ | |
"--debug" | |
] | |
}f | |
}, | |
"default-address-pools":[ | |
{"base":"172.80.0.0/16","size":24}, | |
{"base":"172.90.0.0/16","size":24} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment