mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Allow anonymous pulls
This commit is contained in:
parent
e55b8b2fd9
commit
96010e3ca1
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue