machinery
machinery copied to clipboard
Generic Options Passing to Daemon
Implement a key called daemon or better (?) options that would itself be a dictionary which keys match the various options that can be taken by the daemon at startup. This would allow to specify things such as DNS settings, which are useful when using tools such as consul. The preferable way of writing this would be to ask docker for all its options and to allow, as keys, all options (without the leading dashes). In that way we can cover all current options, but also all future options. It should even be possible to detect options that can appear several times as they are marked using =[] in the output.