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

How to login to private nexus docker repository using bitbucket pipeline

sandeepsarpe010 May 20, 2020

I am trying to login to private nexus docker repository using bitbucket pipeline

I have added below step to pipeline.yaml

docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD <REPO_URL>:<PORT>

but I am getting below error 

Error response from daemon: Get https://<domain name>:8124/v2/: x509: certificate signed by unknown authority

I know how to resolve it on my localhost, where I need to add ssl certificate to docker and restart docker daemon. 

Please can you guide how can I resolve this in the bitbucket pipeline? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events