Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

229 views 2 5
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