mirror of https://github.com/docker/docs.git
Add \r to error message in run raw mode
This commit is contained in:
parent
cdf90bb04b
commit
c2c72bcfd7
|
@ -925,7 +925,7 @@ func (srv *Server) CmdRun(stdin io.ReadCloser, stdout rcli.DockerConn, args ...s
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// If container not found, try to pull it
|
// If container not found, try to pull it
|
||||||
if srv.runtime.graph.IsNotExist(err) {
|
if srv.runtime.graph.IsNotExist(err) {
|
||||||
fmt.Fprintf(stdout, "Image %s not found, trying to pull it from registry.\n", config.Image)
|
fmt.Fprintf(stdout, "Image %s not found, trying to pull it from registry.\r\n", config.Image)
|
||||||
if err = srv.CmdPull(stdin, stdout, config.Image); err != nil {
|
if err = srv.CmdPull(stdin, stdout, config.Image); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue