github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/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 }