Windows: Support running dockerd as a service

This adds support for Windows dockerd to run as a Windows service, managed
by the service control manager. The log is written to the Windows event
log (and can be viewed in the event viewer or in PowerShell). If there is
a Go panic, the stack is written to a file panic.log in the Docker root.

Signed-off-by: John Starks <jostarks@microsoft.com>
Upstream-commit: 421e366d8d
Component: cli
This commit is contained in:
John Starks
2016-04-22 17:16:14 -07:00
parent 977a19e21d
commit 73fd4d25b9

View File

@ -1,5 +1,5 @@
package main
import (
_ "github.com/docker/docker/autogen/winresources/dockerd"
_ "github.com/docker/docker/autogen/winresources/docker"
)