diff --git a/commands/commands.go b/commands/commands.go index 53add48387..781fdeafe0 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -446,10 +446,9 @@ func (srv *Server) CmdImport(stdin io.ReadCloser, stdout io.Writer, args ...stri if u.Scheme == "" { u.Scheme = "http" } - // FIXME: hardcode a mirror URL that does not depend on a single provider. if u.Host == "" { - u.Host = "s3.amazonaws.com" - u.Path = path.Join("/docker.io/images", u.Path) + u.Host = "get.docker.io" + u.Path = path.Join("/images", u.Path) } fmt.Fprintf(stdout, "Downloading from %s\n", u.String()) // Download with curl (pretty progress bar)