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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

bitbucket pipeline dockerhub no such host?

image: ruby:2.7.1
pipelines:
default:
- step:
script:
- apt-get update
- apt-get install nodejs -y
- bundle install
- bundle exec rubocop
- rails db:migrate
- rails test
branches:
master:
- step:
script:
- set -e
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD
- set +e
- docker build --tag $APP-$BITBUCKET_COMMIT .
- docker push $ORG/$APP:$APP-$BITBUCKET_COMMIT
services:
- docker

 

results in:

Error response from daemon: Get https://login/v2/: dial tcp: lookup login on 10.2.128.2:53: no such host

It almost looks like there is a host variable not setup somewhere.  Has anyone seen this?


 

1 answer

0 votes

Hi John,

Are you still facing this error?

If so, please feel free to let me know and I can open a support ticket for you. (You can also do it yourself if you like via https://support.atlassian.com/contact/#/)

I am not sure what is causing this error, but we would need to look at the Pipelines log for the build and possibly extra logs from our side in order to properly investigate and troubleshoot this. We need a support ticket in order to access this info, so feel free to let me know if you still have issues and I can open it for you.

Kind regards,
Theodora

 i am facing this issue in bitbucket cloud while setting up  the pipeline for my project. Please find the below error 

 

[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.10:build (default) on project ivz-alfresco-platform-s3-docker:
Could not build image: Get https://docker.artifactory.app.net/v2/: dial tcp: lookup docker.artifactory.app.net on 10.203.128.2:53:
no such host -> [Help 1]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,320 views 0 3
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