Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


ssh-run pipeline toomanyrequests, docker login question


We've recently run into an issue using 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

Screen Shot 2023-02-02 at 3.42.26 PM.png

2 answers

1 accepted

0 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 05, 2023 • edited

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?


- Ben (Bitbucket Cloud Support)

Hi Ben!

I know I'm responding late, but this came up again. 

1. We are using a workspace runner

2. Correct, using that image.


Thank you,


Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 27, 2023

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.


- Ben (Bitbucket Cloud Support)

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:


  - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
  - pipe: atlassian/ssh-run:0.4.1
in bitbucket-pipelines.yaml may have gotten around the issue.
Thanks for your help,

Fixed with docker login command as first step of script.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events