mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
57aef3b490
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>
7 lines
90 B
Go
7 lines
90 B
Go
// +build !windows
|
|
|
|
package main
|
|
|
|
func initService() (bool, error) {
|
|
return false, nil
|
|
}
|