|
// use GCR mirror to avoid hitting Docker Hub rate limit |
|
const ( |
|
AlpineImage = "mirror.gcr.io/library/alpine:3.13" |
|
NginxAlpineImage = "mirror.gcr.io/library/nginx:1.19-alpine" |
|
NginxAlpineIndexHTMLSnippet = "<title>Welcome to nginx!</title>" |
|
RegistryImage = "mirror.gcr.io/library/registry:2" |
|
) |
Docker Hub has rate limit, and OTOH mirror.gcr.io seems unstable:
docker: Error response from daemon: manifest for mirror.gcr.io/library/nginx:1.19-alpine not found: manifest unknown: Failed to fetch "1.19-alpine" from request "/v2/library/nginx/manifests/1.19-alpine".
We are currently using mirror.gcr.io (EDIT: switched back to plain old Docker Hub: #148) but should switch to something else.
Requirements:
- No rate limit
- Stable
- Provides multi-arch images for
alpine:3.13, nginx:1.19-alpine, and registry:2
nerdctl/pkg/testutil/testutil.go
Lines 276 to 282 in ed8eec8
Docker Hub has rate limit, and OTOH
mirror.gcr.ioseems unstable:We are currently using
(EDIT: switched back to plain old Docker Hub: #148) but should switch to something else.mirror.gcr.ioRequirements:
alpine:3.13,nginx:1.19-alpine, andregistry:2