Pulling docker image problem

In autogenerated yaml I have something like this:

sonarqube-check:
  image: gradle:jre11-slim

and I get this error:

 Using Docker executor with image openjdk:11-jre-buster ...
 Pulling docker image openjdk:11-jre-buster ...
 WARNING: Failed to pull image with policy "always": Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:1s)
 ERROR: Preparation failed: failed to pull image "openjdk:11-jre-buster" with specified policies [always]: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

any clues?

Hi, looks like you have the explanation in the log:

You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:1s)

I think that log is misleading because in other repositories I don’t have problem with pull rate limit.
Maybe can’t find specify image?

How to authenticate (log in) to docker in yaml?

Do you use the same “always” pull policy for other images?

I only use:

sonarqube-check:
  image: gradle:jre11-slim

In others yamls I use:

image : mcr.microsoft.com/dotnet/core/sdk:3.1

Where is this “always” pull policy set?