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