This code will be used in containerd and is quite useful in general to people who want a nice way of creating listeners from proto://address arguments (even supporting socket activation). Separate it out from docker/ so people can use it much more easily. Signed-off-by: Aleksa Sarai <asarai@suse.de> Upstream-commit: e3a8c8388f8c6f1f67204cdd16b7b685fadda6c3 Component: engine
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.