mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
459e58ffc9
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) |
||
---|---|---|
.. | ||
client.go | ||
daemon.go | ||
docker.go | ||
flags.go | ||
log.go | ||
README.md |
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.