2016-04-27 13:08:20 -04:00
|
|
|
// +build !daemon
|
|
|
|
|
2016-04-23 21:31:57 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
2016-04-27 13:08:20 -04:00
|
|
|
"runtime"
|
|
|
|
"strings"
|
2016-04-23 21:31:57 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
// CmdDaemon reports on an error on windows, because there is no exec
|
|
|
|
func (p DaemonProxy) CmdDaemon(args ...string) error {
|
|
|
|
return fmt.Errorf(
|
2016-04-27 13:08:20 -04:00
|
|
|
"`docker daemon` is not supported on %s. Please run `dockerd` directly",
|
|
|
|
strings.Title(runtime.GOOS))
|
2016-04-23 21:31:57 -04:00
|
|
|
}
|