Files
docker-cli/components/engine/docker
Brian Goff fa734b0de4 Ensure clean engine shutdown on startup errors
Previously on error either from the daemon or from the api it is just
exiting with exit status 1 but not performing a shutdown.
This can produce insconsistent state depending on where the error came
from.

This makes sure that before we exit on error that the engine gets fully
shutdown.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 0e3f2f2ac07c69922bd837f864219a088d243248
Component: engine
2015-03-09 08:40:38 -04:00
..
2014-10-24 13:03:46 -07:00
2014-11-15 09:00:48 -08:00

docker.go contains Docker's main function.

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