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:
parent
1ec6c223c9
commit
2a47df0202
1 changed files with 1 additions and 9 deletions
|
@ -138,15 +138,7 @@ func runCommand(args []string) error {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
service, err := docker.NewServer()
|
||||
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 fmt.Errorf("Can't connect to docker daemon. Is 'docker -d' running on this host?")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue