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 Add README.md file for the docker directory 2014-05-20 09:04:46 +00:00
client.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
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 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 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 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.