31cb96dcfa
When the value for a configuration option in the file is `false`, and the default value for a flag is `true`, we should not take the value from the later as final value for the option, because the user explicitly set `false`. This change overrides the default value in the flagSet with the value in the configuration file so we get the correct result when we merge the two configurations together. Signed-off-by: David Calavera <david.calavera@gmail.com> |
||
---|---|---|
.. | ||
listeners | ||
client.go | ||
client_test.go | ||
common.go | ||
daemon.go | ||
daemon_freebsd.go | ||
daemon_linux.go | ||
daemon_none.go | ||
daemon_test.go | ||
daemon_unix.go | ||
daemon_unix_test.go | ||
daemon_windows.go | ||
docker.go | ||
docker_windows.go | ||
flags.go | ||
flags_test.go | ||
README.md |
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.