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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 14, 2019 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...

950 views 1 16
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