Hello
We're using runners in the bitbucket pipeline.
And as far as I know, there is pull rate limit for image in docker.
According to the question below, the bitbucket is working with the docker, so it is not affected by rate limit.
I would like to ask if we are free to pull docker image regardless of rate limit even on runner
If it is affected, should I apply it to the steps of all pipelines as below?
image:
name: openjdk:8
username: $DOCKER_HUB_USERNAME
password: $DOCKER_HUB_PASSWORD
Sincerely,
Eunhak Cho
Hi 조은학,
If you are pulling an image from dockerhub - you will be subject to the rate limits. These limits have been in place since 2020.
Anonymous (unauthenticated) users are limited to 100 container image pulls every six hours, and Free (authenticated) users are limited to 200 container image pulls every six hours.
This is set to change on April 1st to 10 pulls/hour with unauthenticated users. Therefore, if you don't expect to pull the docker image more than 10 times every hour, you should be fine to remain unauthenticated - otherwise, authentication with a Free docker account (as you have proposed) would give you 100 image pulls every hour.
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.