moby--moby/docker
David Calavera 31cb96dcfa Avoid setting default truthy values from flags that are not set.
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>
2016-02-19 18:39:10 -05:00
..
listeners
README.md
client.go
client_test.go
common.go
daemon.go Remove all docker debugging knowledge from the server. 2016-02-16 14:11:16 -05:00
daemon_freebsd.go
daemon_linux.go
daemon_none.go
daemon_test.go Avoid setting default truthy values from flags that are not set. 2016-02-19 18:39:10 -05:00
daemon_unix.go Avoid setting default truthy values from flags that are not set. 2016-02-19 18:39:10 -05:00
daemon_unix_test.go
daemon_windows.go Avoid setting default truthy values from flags that are not set. 2016-02-19 18:39:10 -05:00
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.