Skip to content

Image pull throttling on GitHub actions #5748

@kzys

Description

@kzys

Description

I've seen image pull throttling on GitHub Actions. For example, this CRI-in-UserNS test with Rootless Podman was failing due to

STEP 1: FROM golang:1.16.6 AS golang-base
Trying to pull docker.io/library/golang:1.16.6...
time="2021-07-16T14:57:11Z" level=warning msg="failed, retrying in 2s ... (1/3). Error: Error initializing source docker://golang:1.16.6: Error reading manifest 1.16.6 in docker.io/library/golang: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
time="2021-07-16T14:58:14Z" level=warning msg="failed, retrying in 2s ... (2/3). Error: Error determining manifest MIME type for docker://golang:1.16.6: Error reading manifest sha256:264ebcddca05426de1c8a04cfb3a27fff72468c1d32b2d0f367d614e11449362 in docker.io/library/golang: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
time="2021-07-16T14:58:47Z" level=warning msg="failed, retrying in 2s ... (3/3). Error: Error initializing source docker://golang:1.16.6: Error reading manifest 1.16.6 in docker.io/library/golang: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit"
Error: error creating build container: Error initializing source docker://golang:1.16.6: Error reading manifest 1.16.6 in docker.io/library/golang: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Steps to reproduce the issue:

  1. Run GitHub actions

Describe the results you received:

The error above.

Describe the results you expected:

We shouldn't hit the throttling limit.

What version of containerd are you using:

NA

Any other relevant information (runC version, CRI configuration, OS/Kernel version, etc.):

NA

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions