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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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
- step:
- apt-get update
- apt-get install nodejs -y
- bundle install
- bundle exec rubocop
- rails db:migrate
- rails test
- step:
- set -e
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD
- set +e
- docker build --tag $APP-$BITBUCKET_COMMIT .
- docker


results in:

Error response from daemon: Get https://login/v2/: dial tcp: lookup login on 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

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,

 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 dial tcp: lookup on
no such host -> [Help 1]

Suggest an answer

Log in or Sign up to answer
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