1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docker
Phil Estes 459e58ffc9 Fix daemon shutdown on error after rework of daemon startup
Currently the daemon will not stop on error because the serve API job is
blocking the channel wait for daemon init.  A better way is to run the
blocking serve API job as a goroutine and make sure that error
notification gets back to the main daemon thread (using the already
existing channel) so that clean shutdown can occur on error.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-03-17 14:15:00 -04:00
..
client.go Client should use go log package. 2014-10-24 13:03:46 -07:00
daemon.go Fix daemon shutdown on error after rework of daemon startup 2015-03-17 14:15:00 -04:00
docker.go Fix: docker -d -h start daemon instead of showing help menu 2015-03-02 17:01:56 -05:00
flags.go Shorten help messages for docker cmd flags 2015-02-18 22:52:33 -08:00
log.go Add --log-level support 2014-11-15 09:00:48 -08:00
README.md

docker.go contains Docker's main function.

This file provides first line CLI argument parsing and environment variable setting.