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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,456,296
Community Members
 
Community Events
176
Community Groups

My bitbucket build cannot pull docker image

Edited

Previously I was using

image: openkbs/jdk11-mvn-py3

and this worked fine. Then I forked that docker image to fingage/jdk17-mvn-py3 and made sure it was public and changed the line:

image: fingage/jdk17-mvn-py3

 Now I get an error

rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/fingage/jdk17-mvn-py3:latest": failed to resolve reference "docker.io/fingage/jdk17-mvn-py3:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

any ideas?

Thanks, Jason

1 answer

1 accepted

0 votes
Answer accepted
Patrik S Atlassian Team Jan 10, 2023

Hello @Jason Novotny 

Thank you for reaching out to Atlassian Community!

The error you reported is because that image either does not exist or is a private image. If you access the fingage repository in Dockerhub you can check that there's currently no public image listed with the name jdk17-mvn-py3.

If the image is private, you can use the following syntax in your Bitbucket pipelines yml file to provide the Docker hub credentials :

image:
  name: fingage/jdk17-mvn-py3
  username: $DOCKER_HUB_USERNAME
  password: $DOCKER_HUB_PASSWORD

However, if you want to set the image as public in your docker hub repository, you can follow Dockerhub's documentation to Configure repositories.

Hope that helps! Let me know in case you have any questions.

Thank you, @Jason Novotny .

Patrik S

Thanks Patrik! That was very helpful

Like Patrik S likes this
Patrik S Atlassian Team Jan 11, 2023

You're very welcome @Jason Novotny ! Happy to have been of some help :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events