bitbucket pipeline dockerhub no such host?

John Moses June 25, 2020
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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2020

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

manikandan.r January 19, 2021

 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
AUG Leaders

Atlassian Community Events