mirror of
https://github.com/docker/cli.git
synced 2026-09-01 18:14:34 -05:00
26ddd6db9335ae3b21670f797e5701815f4b004b
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) Upstream-commit: 459e58ffc9bff8206a860fb63f973e4f07129756 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%