I also needed to add a mflag.IsSet() function that allows you to check to see if a certain flag was actually specified on the cmd line. Per #9221 - also tweaked the docs to fix a typo. Closes #9221 Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: ae9bd580af55992974fcb94f73f72cc3b2257fec Component: engine
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.