docker/cmd/dockerd
..
hack
README.md
config.go
config_common_unix.go
config_experimental.go
config_solaris.go
config_unix.go
config_unix_test.go
config_windows.go
daemon.go
daemon_freebsd.go
daemon_linux.go
daemon_solaris.go
daemon_test.go
daemon_unix.go
daemon_unix_test.go
daemon_windows.go
docker.go
docker_windows.go
metrics.go
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.