b49329396e80fde550648554f8caf7fcc4d1f975
Before this commit if "--config-file" wasn't set the daemon would use the default configuration file which is "/etc/docker/daemon.json". When attempting to reload the daemon if that file didn't exist and error message would display. This behaviour is changed in a way that if the default configuration file does not exist and no other configuration file is set the daemon uses an empty configuration which later will be updated and reloaded using the "reload" function given as an argument in Reload. However, if the "--config-file" is set and the file is removed or renamed an error message will be displayed and no reload will be done. Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com> Upstream-commit: 0f8119a87dc301e9543c45c416d6b4545da1fc46 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%