Missed Team ’24? Catch up on announcements here.

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

Bitbucket Pipeline unable to login docker command

Tran Mai October 1, 2017

Hi, this issue really annoying and took me hours but still unable to figure out.

 

Im using my own private registry azure. It's working on my local environment. I also checked value of variables and all are perfect. Please help me :(

 

+ docker login $DOCKER_HOST --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORDWarning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at tcp://$DOCKER_HOST:2375. Is the docker daemon running?). Using system default: https://index.docker.io/v1/Cannot connect to the Docker daemon at tcp://$DOCKER_HOST:2375. Is the docker daemon running?

 

 

I followed this article but it seemed no managed host mentioned (im using azure registry). It seemed something wrong with the Docker daemon ?

https://confluence.atlassian.com/bitbucket/run-docker-commands-in-bitbucket-pipelines-879254331.html

2 answers

0 votes
jakimli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2018

Same issue here, I think it's bitbuckets problem, I already set the option: docker, but it fails when run docker built, says cannot connect to docker daemon.

0 votes
Tran Mai October 5, 2017

Nobody answers me, so sad...:(

Asaf Shakarzy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2018

you must use the pre defined docker service in your pipeline manifest.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events