moby--moby/cmd/dockerd
HuanHuan Ye 68e1150357
DaemonCli: Move check into startMetricsServer
Fix TODO: move into startMetricsServer()
Fix errors.Wrap return nil when passed err is nil

Co-Authored-By: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Signed-off-by: HuanHuan Ye <logindaveye@gmail.com>
(cherry picked from commit 88c554f950)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-27 11:01:20 +01:00
..
hack
README.md
config.go Add (hidden) flags to set containerd namespaces 2019-09-25 17:26:26 +02:00
config_common_unix.go
config_unix.go
config_unix_test.go
config_windows.go
daemon.go DaemonCli: Move check into startMetricsServer 2020-01-27 11:01:20 +01:00
daemon_freebsd.go
daemon_linux.go
daemon_test.go
daemon_unix.go
daemon_unix_test.go
daemon_windows.go
docker.go
docker_unix.go
docker_windows.go
metrics.go DaemonCli: Move check into startMetricsServer 2020-01-27 11:01:20 +01:00
options.go
options_test.go
service_unsupported.go
service_windows.go

README.md

docker.go contains Docker daemon's main function.

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