Unable to find image error should print to stderr

Upstream-commit: 4ff649ce852175f209c27d03992f31b5f14cae65
Component: engine
This commit is contained in:
Isao Jonas
2013-08-29 18:25:11 -05:00
parent 6e525e067e
commit cb31b917c6

View File

@ -1423,7 +1423,7 @@ func (cli *DockerCli) CmdRun(args ...string) error {
tag = DEFAULTTAG
}
fmt.Printf("Unable to find image '%s' (tag: %s) locally\n", config.Image, tag)
fmt.Fprintf(cli.err, "Unable to find image '%s' (tag: %s) locally\n", config.Image, tag)
v := url.Values{}
repos, tag := utils.ParseRepositoryTag(config.Image)