1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Disabled standalone mode (fixes #364)

This commit is contained in:
Solomon Hykes 2013-04-15 11:44:11 -07:00
parent 1ec6c223c9
commit 2a47df0202

View file

@ -138,15 +138,7 @@ func runCommand(args []string) error {
} }
} }
} else { } else {
service, err := docker.NewServer() return fmt.Errorf("Can't connect to docker daemon. Is 'docker -d' running on this host?")
if err != nil {
return err
}
dockerConn := rcli.NewDockerLocalConn(os.Stdout)
defer dockerConn.Close()
if err := rcli.LocalCall(service, os.Stdin, dockerConn, args...); err != nil {
return err
}
} }
return nil return nil
} }