diff --git a/pkg/v1/remote/transport/ping.go b/pkg/v1/remote/transport/ping.go index 77659cb31..08b2214c0 100644 --- a/pkg/v1/remote/transport/ping.go +++ b/pkg/v1/remote/transport/ping.go @@ -67,7 +67,7 @@ func parseChallenge(suffix string) map[string]string { } func ping(reg name.Registry, t http.RoundTripper) (*pingResp, error) { - client := http.Client{Transport: t, Timeout: 2 * time.Second} + client := http.Client{Transport: t, Timeout: 120 * time.Second} // This first attempts to use "https" for every request, falling back to http // if the registry matches our localhost heuristic or if it is intentionally