
DOCKER FOR MAC CONFIG.JSON WINDOWS
We use the SIGHUP signal in Linux to reload, and a global event in Windows with the key Global\docker-daemon-config-$PID. Some options can be reconfigured when the daemon is running without requiring to restart the process. The -config-file flag can be used to specify a non-default location.Īllowed configuration options on Linux: Configuration reloading The default location of the configuration file on Linux is /etc/docker/daemon.json. Options that are not present in the file are ignored when the daemon starts.

For example, the daemon fails to start if you set daemon labels in the configuration file and also set daemon labels via the -label flag. This is done to silently ignore changes introduced in configuration reloads. The docker daemon fails to start if an option is duplicated between the file and the flags, regardless their value.

The options set in the configuration file must not co nflict with options set via flags. This file uses the same flag names as keys, except for flags that allow several entries, where it uses the plural of the flag name, e.g., labelsfor the label flag. The -config-file option allows you to set any configuration option for the daemon in a JSON format.
