Hi,
We've recently run into an issue using https://bitbucket.org/atlassian/ssh-run/src/master/. The message we receive is
Unable to find image 'bitbucketpipelines/ssh-run:0.4.1' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit.
I feel we don't perform all that many pulls, so that is one issue that concerns me. In any case we're willing to use a docker account to perform tasks, but I'm confused as to how to do so in the bitbucket-pipelines.yml file as the docker container run command which references the image bitbucketpipelines/ssh-run:0.4.1 doesn't seem configurable in that manner from looking at the README. I've attempted to try some workarounds using Bitbucket Workspace Variables or even environment variables on the host, but those only seem to apply to the COMMAND section of the pipeline and as far as I can tell this is related to the pipeline set up. Here is a screenshot of the output of the failed pipeline, specifically the 'pipe: atlassian/ssh-run:0.4.1' step.
Any assistance is greatly appreciated.
Thank you,
Andrew Lane
Hey Andrew,
So that I may assist you further - can you confirm if this is standard pipelines or if you are using a workspace/repository runner?
Also, you are using the bitbucketpipelines/ssh-run build image, correct?
Cheers!
- Ben (Bitbucket Cloud Support)
Hi Andrew,
This error message refers to rate limiting on unauthenticated/free Dockerhub accounts, you can see more details here:
This means unauthenticated users get 100 image pulls per hour, whereas logged in users get 200 image pulls per hour.
You can either ensure that you are logged in to Dockerhub first, or, you can use a private registry to download images to your Runner - you may use the setup explained on the documentation below, under "Using private build images", depending on where they are stored:
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.
Hi Ben,
I think the root cause of our pulls being exhausted was failed deployments with AWS (automated repeated attempts to launch containers).
In any case it seems doing this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.