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 Windows: Build docker.exe manifested and with icon 2015-06-04 11:49:10 -07:00
flags.go Use consistent command description 2015-10-08 08:46:21 -04:00
flags_test.go Add test to check if subcommands are sorted 2015-08-07 01:34:21 -07:00
README.md

docker.go contains Docker's main function.

This file provides first line CLI argument parsing and environment variable setting.