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: 57aef3b49025aac6bb084491478eb461b14b9109
Component: engine
This commit is contained in:
John Starks
2016-04-22 17:16:14 -07:00
parent 421a9caea1
commit 4fa4d37ded
49 changed files with 8071 additions and 71 deletions

View File

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