mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e769da88e6
Due to the CL https://go-review.googlesource.com/c/39608/ in x/sys/windows which changed the definitions of STD_INPUT_HANDLE, STD_OUTPUT_HANDLE and STD_ERROR_HANDLE, we get the following failure in cmd/dockerd/service_windows.go after re-vendoring x/sys/windows: 06:29:57 # github.com/docker/docker/cmd/dockerd 06:29:57 .\service_windows.go:400: cannot use sh (type int) as type uint32 in argument to windows.GetStdHandle Fix it by adding an explicit type conversion when calling windows.GetStdHandle. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> |
||
---|---|---|
.. | ||
hack | ||
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 | ||
README.md | ||
service_unsupported.go | ||
service_windows.go |
docker.go contains Docker daemon's main function.
This file provides first line CLI argument parsing and environment variable setting.