moby--moby/docker
David Calavera 677a6b3506 Allow to set daemon and server configurations in a file.
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>
2016-01-14 16:44:37 -05:00
..
README.md
client.go
common.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
daemon.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
daemon_freebsd.go
daemon_linux.go
daemon_none.go
daemon_test.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
daemon_unix.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
daemon_windows.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -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.