diff --git a/components/engine/api/client/commands.go b/components/engine/api/client/commands.go index 7ae74a78fd..e10bee3b18 100644 --- a/components/engine/api/client/commands.go +++ b/components/engine/api/client/commands.go @@ -411,6 +411,8 @@ func (cli *DockerCli) CmdLogin(args ...string) error { return err } registry.SaveConfig(cli.configFile) + fmt.Fprintf(cli.out, "WARNING: login credentials saved in %s.\n", path.Join(homedir.Get(), registry.CONFIGFILE)) + if out2.Get("Status") != "" { fmt.Fprintf(cli.out, "%s\n", out2.Get("Status")) }