mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
8983d42988
Signed-off-by: Daniel Nephin <dnephin@docker.com>
16 lines
327 B
Go
16 lines
327 B
Go
// +build !daemon
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
"strings"
|
|
)
|
|
|
|
// CmdDaemon reports on an error on windows, because there is no exec
|
|
func (p DaemonProxy) CmdDaemon(args ...string) error {
|
|
return fmt.Errorf(
|
|
"`docker daemon` is not supported on %s. Please run `dockerd` directly",
|
|
strings.Title(runtime.GOOS))
|
|
}
|