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 votes

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

689 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot