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
Tobias Klauser e769da88e6 Windows: fix build after re-vendoring golang.org/x/sys
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>
2017-07-12 14:52:42 +02:00
..
hack review code about cmd/* and fix some easy typos :D 2017-02-10 15:52:33 +08:00
config.go LCOW: Deprecate storagedriver option 2017-06-20 09:21:37 -07:00
config_common_unix.go Deprecate --graph flag; Replace with --data-root 2017-03-30 11:24:56 +02:00
config_experimental.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_solaris.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_unix.go add NamedUlimitOpt implement NamedOption to fix 32528 2017-06-16 10:14:09 +08:00
config_unix_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00
config_windows.go Deprecate --graph flag; Replace with --data-root 2017-03-30 11:24:56 +02:00
daemon.go Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04: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 Windows: Wait for OOBE to prevent crashing during host update 2017-02-15 14:01:54 -08:00
daemon_solaris.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
daemon_test.go Remove cli/flags package 2017-06-01 13:34:31 -07:00
daemon_unix.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
daemon_unix_test.go Disable legacy (v1) registries by default 2017-06-12 11:04:28 +02:00
daemon_windows.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
docker.go Remove cli/flags package 2017-06-01 13:34:31 -07:00
docker_windows.go Windows: work around Go 1.6.2/Nano Server TP5 issue 2016-05-25 11:59:28 +02:00
metrics.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
options.go Remove cli/flags package 2017-06-01 13:34:31 -07:00
options_test.go Remove cli/flags package 2017-06-01 13:34:31 -07:00
README.md Fix readme doc for dockerd 2016-09-01 14:47:51 +08:00
service_unsupported.go Windows: no pidfile when service 2017-03-08 15:18:30 -08:00
service_windows.go Windows: fix build after re-vendoring golang.org/x/sys 2017-07-12 14:52:42 +02:00

docker.go contains Docker daemon's main function.

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