Make TLSOptions and LogConfig embedded structs.
That way the configuration file becomes flag, without extra keys.
@@ -838,10 +838,8 @@ This is a full example of the allowed configuration options in the file:
"storage-driver": "",
"storage-opts": "",
"labels": [],
- "log-config": {
"log-driver": "",
- "log-opts": []
- },
+ "log-opts": [],
"mtu": 0,
"pidfile": "",
"graph": "",
@@ -853,11 +851,9 @@ This is a full example of the allowed configuration options in the file:
"log-level": "",
"tls": true,
"tlsverify": true,
- "tls-opts": {
"tlscacert": "",
"tlscert": "",
- "tlskey": ""
- },
+ "tlskey": "",
"api-cors-headers": "",
"selinux-enabled": false,
"userns-remap": "",
