Join GitHub today
Add docker daemon command instead of -d #6055
QE Reports that you can put lots of bogus options on the cli before the command
I believe a better long term solution would be to remove the -d options and add a daemon command. This would make the handling of options the same for all use
Docker-DCO-1.1-Signed-off-by: Dan Walsh firstname.lastname@example.org (github: rhatdan)
tianon I agree which is why I suggested we drop -d and force the command to be daemon
docker daemon [OPTIONS]
Then you would not allow options before the command.
All I can check now is if the default changed, which tells me they used the option.
Well I think it is something we should definitely be in docker. I just don't have the time to rewrite the patch set. The current split causes man pages and option handling to be buggy and not easy to understand when to use certain options. IE A lot of options are only valid for use with the -d option. Changing this to daemon would clear this up.