daemon_none.go 327 B

12345678910111213141516
  1. // +build !daemon
  2. package main
  3. import (
  4. "fmt"
  5. "runtime"
  6. "strings"
  7. )
  8. // CmdDaemon reports on an error on windows, because there is no exec
  9. func (p DaemonProxy) CmdDaemon(args ...string) error {
  10. return fmt.Errorf(
  11. "`docker daemon` is not supported on %s. Please run `dockerd` directly",
  12. strings.Title(runtime.GOOS))
  13. }