1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Move listeners and port allocation outside the server. 2016-02-11 14:42:49 -05:00
client.go handle debug mode for clients 2016-02-01 14:36:40 -05:00
client_test.go Add regression tests for client debug flag. 2016-02-02 16:57:36 -05:00
common.go Verify that the configuration keys in the file are valid. 2016-01-21 16:56:12 -05:00
daemon.go Remove all docker debugging knowledge from the server. 2016-02-16 14:11:16 -05:00
daemon_freebsd.go Fix "./docker" package name on freebsd 2015-11-17 09:38:19 -08:00
daemon_linux.go Remove LXC support. 2015-11-05 17:09:57 -05:00
daemon_none.go Remove deprecated cli flags 2015-11-15 10:40:01 +01:00
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 Allow network configuration via daemon config file. 2016-01-25 18:54:56 -05:00
daemon_windows.go Avoid setting default truthy values from flags that are not set. 2016-02-19 18:39:10 -05:00
docker.go replace the os.Stdout with stdout to adapt platform 2015-12-30 18:24:02 +08:00
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.