677a6b3506
Read configuration after flags making this the priority: 1- Apply configuration from file. 2- Apply configuration from flags. Reload configuration when a signal is received, USR2 in Linux: - Reload router if the debug configuration changes. - Reload daemon labels. - Reload cluster discovery. Signed-off-by: David Calavera <david.calavera@gmail.com> |
||
---|---|---|
.. | ||
client.go | ||
common.go | ||
daemon.go | ||
daemon_freebsd.go | ||
daemon_linux.go | ||
daemon_none.go | ||
daemon_test.go | ||
daemon_unix.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.