It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why is pipelines not accepting this dockerhub public image?

BB Pipelines is barfing on the very first line of my script. I'm following the example given by Atlassian for a existing, public Docker image.   Its not my username for dockerhub, but I didn't think that would make a difference if its public.  I'm confused why its trying to pull from docker.io instead of hub.docker.com ?

 # Specify a docker image from Dockerhub (Ubuntu 14.04, cmake, cmocka)
 image: pyvil/c-cmake-cmocka

 

ERROR from pipelines:

+ docker pull "pyvil/c-cmake-cmocka" 
Using default tag: latest 
Pulling repository docker.io/pyvil/c-cmake-cmocka 
Tag latest not found in repository docker.io/pyvil/c-cmake-cmocka


1 answer

1 accepted

1 vote
Answer accepted

That error is because you've instructed Pipelines to get the default tag of the image "latest". Looking at https://hub.docker.com/r/pyvil/c-cmake-cmocka/tags/ there is no latest tag, so you'll have to change your image to pyvil/c-cmake-cmocka:version0.0.1

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

1,121 views 4 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you