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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

DockerHub integration

Hi there


I'm trying to setup my docker hub build automation.

The build can't get access to private repo to download dependencies, and to solve it, docker hub states to use their own public rasa key:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC65L3Lx3HtoqxYJdfkBnF1wrMC55gCOLRiUGslxGZtAVdADb0sz9s2rjEkKi6EzrnQEX6SNoDz3XGunF01LBiEyhkGOmuarLR3+lHzqysi7n4SQUXrVDljO1HQKLrK4cV/Dd4cN9WLo2vqOoGCjBy7bmn/qlnDDmdWfvDue2at/PRipYqPUF0OKuth63zgjBjcycFVsmTn9gDJkhUd9y5Q/NWB/z5gYnKv0GHW2f+XxyfMNE/RzIyIuwus5xSJq6tieyzvM/Zl27HCbzEVd6Q7b2207QZvH9hDtJ2XJuMfqFtlfaG9Y7mp6DXEDIkSfd3ZFCGW6IvoQv0YGGuE+QGr

When I try to use this key in my bitbucket account, i'm getting this message:

Someone has already added that key as an access key to a repository.


Can you help me ?


1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 20, 2022

Hello @sparkgo ,

Thank you for reaching out to Atlassian Community.

Could you please give us more details about what exactly integration you are trying to do with Dockerhub? 

Are you trying to download a private docker image from within your Bitbucket Pipelines build? 

If yes, then you would have to first execute the docker login command as part of your build, providing your docker account credentials, as in the below example : 

docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD

In this example, it's assumed that you have created two environmental variables in your bitbucket pipelines containing your docker account username and password.

After the docker login command is executed, you should be able to docker pull any private image part of that docker account into your bitbucket build.

Thank you, @sparkgo .

Kind regards,

Patrik S 

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events