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
Sebastian Cole Atlassian Team Sep 30, 2016

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

thanks!!!

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,242 views 1 22
Read article

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