From 4ff649ce852175f209c27d03992f31b5f14cae65 Mon Sep 17 00:00:00 2001 From: Isao Jonas <isao.jonas@gmail.com> Date: Thu, 29 Aug 2013 18:25:11 -0500 Subject: [PATCH] Unable to find image error should print to stderr --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 236fb65d10..15cf7a3cf9 100644 --- a/commands.go +++ b/commands.go @@ -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)