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

Merge pull request #2869 from dotcloud/fix-docker-pull-run

fix docker run on an unknown image
This commit is contained in:
Victor Vieux 2013-11-25 23:28:15 -08:00
commit 18d08d0d42

View file

@ -2009,8 +2009,7 @@ func (cli *DockerCli) CmdRun(args ...string) error {
if body, _, err = cli.call("POST", "/containers/create?"+containerValues.Encode(), config); err != nil {
return err
}
}
if err != nil {
} else if err != nil {
return err
}