From 96010e3ca134acb4707bbbb1fd8649d7de671229 Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Fri, 22 Mar 2013 18:45:28 -0700 Subject: [PATCH] Allow anonymous pulls --- commands.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commands.go b/commands.go index 422dd07b4..4ca4f121b 100644 --- a/commands.go +++ b/commands.go @@ -472,10 +472,6 @@ func (srv *Server) CmdPull(stdin io.ReadCloser, stdout io.Writer, args ...string return nil } - if srv.runtime.authConfig == nil { - return fmt.Errorf("Please login prior to push. ('docker login')") - } - if srv.runtime.graph.LookupRemoteImage(remote, srv.runtime.authConfig) { fmt.Fprintf(stdout, "Pulling %s...\n", remote) if err := srv.runtime.graph.PullImage(remote, srv.runtime.authConfig); err != nil {