moby--moby/cmd/dockerd
Sebastiaan van Stijn 43d6eb7173
pkg/pidfile: remove PIDFile type, rename New() to Write()
This type felt really redundant; `pidfile.New()` takes the path of the file to
create as an argument, so this is already known. The only thing the PIDFile
type provided was a `Remove()` method, which was just calling `os.Remove()` on
the path of the file.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-15 16:40:16 +02:00
..
trap cmd/dockerd: fix empty-lines (revive) 2022-09-28 01:58:52 +02:00
README.md Fix readme doc for dockerd 2016-09-01 14:47:51 +08:00
config.go daemon: complete the "--graph" / "-g" deprecation 2022-08-18 14:57:16 +02:00
config_unix.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
config_unix_test.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
config_windows.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
daemon.go pkg/pidfile: remove PIDFile type, rename New() to Write() 2022-10-15 16:40:16 +02:00
daemon_freebsd.go daemon: move check for CPU-realtime daemon options 2022-03-03 19:50:27 +01:00
daemon_linux.go daemon: move check for CPU-realtime daemon options 2022-03-03 19:50:27 +01:00
daemon_test.go cmd/dockerd: use initialized config in tests 2022-08-17 14:07:03 +02:00
daemon_unix.go cmd/dockerd: initContainerd() use early return 2022-08-11 14:11:10 +02:00
daemon_unix_test.go cmd/dockerd: produce error when using discovery options 2022-01-06 18:28:15 +01:00
daemon_windows.go Merge pull request #43942 from thaJeztah/rundaemon_windows_nit 2022-08-11 08:30:44 -07:00
docker.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
docker_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
docker_windows.go cmd/dockerd: fix some minor issues in Windows implementation 2022-08-09 22:50:41 +02:00
genwinres_windows.go use go-winres for cross to create Windows resources 2022-04-14 19:52:35 +02:00
metrics.go set ReadHeaderTimeout to address G112: Potential Slowloris Attack (gosec) 2022-09-22 12:13:28 +02:00
options.go cmd/dockerd: un-export config methods, and don't pass flags "twice" 2022-04-27 00:34:17 +02:00
options_test.go cmd/dockerd: un-export config methods, and don't pass flags "twice" 2022-04-27 00:34:17 +02:00
service_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
service_windows.go Merge pull request #44287 from thaJeztah/use_SetRecoveryActions 2022-10-14 18:18:47 +00:00

README.md

docker.go contains Docker daemon's main function.

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