1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Add canonical import comment 2018-02-05 16:51:57 -05:00
config.go Add (hidden) flags to set containerd namespaces 2019-09-25 17:26:26 +02:00
config_common_unix.go dockerd: fix rootless detection (alternative to #39024) 2019-05-13 15:31:31 -07:00
config_unix.go dockerd: fix rootless detection (alternative to #39024) 2019-05-13 15:31:31 -07:00
config_unix_test.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
config_windows.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
daemon.go DaemonCli: Move check into startMetricsServer 2020-01-27 11:01:20 +01:00
daemon_freebsd.go Windows: Wait for OOBE to prevent crashing during host update 2017-02-15 14:01:54 -08:00
daemon_linux.go Use go-systemd const instead of magic string in Linux version of dockerd 2018-05-23 19:06:34 +02:00
daemon_test.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
daemon_unix.go Revert "Remove the rest of v1 manifest support" 2019-06-18 18:54:57 +00:00
daemon_unix_test.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
daemon_windows.go Revert "Remove the rest of v1 manifest support" 2019-06-18 18:54:57 +00:00
docker.go dockerd: fix rootless detection (alternative to #39024) 2019-05-13 15:31:31 -07:00
docker_unix.go Windows:Add ETW logging hook 2019-03-12 18:41:55 -07:00
docker_windows.go Windows:Add ETW logging hook 2019-03-12 18:41:55 -07:00
metrics.go DaemonCli: Move check into startMetricsServer 2020-01-27 11:01:20 +01:00
options.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
options_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
README.md
service_unsupported.go Split daemon service code to _windows file 2018-03-21 12:57:53 +01:00
service_windows.go Properly type handles to prevent overflows 2018-10-10 16:46:37 -07:00

docker.go contains Docker daemon's main function.

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