Since there are other users of pkg/listeners, it doesn't make sense to contain Docker-specific semantics and warnings inside it. To that end, move the scary warning about -tlsverify and the libnetwork port allocation code to CmdDaemon (where they belong). This helps massively reduce the dependency tree for users of pkg/listeners. Signed-off-by: Aleksa Sarai <asarai@suse.de> Upstream-commit: 5ee0a94101c30a4ac22379fdab50c0faad2d12c9 Component: engine
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.