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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

using self signed certificate in bitbucket-pipelines.yml

Hi All,

I want to use a private repository to store docker images. Unfortunately it has self signed certificate only.  How can I accept this certificate in my bitbucket-pipelines.yml? 

In gitlab there is an opportunity to set parameters for docker service like this: 

 - name: docker:dind                       
         command: ["--insecure-registry=fqdn_of_registry:port"]  

Is there a similar method in bitbucket? 

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 03, 2019

Hi Zamek,

Try following the instructions here:

There may be some additional configuration required, so let me know how it goes. At the moment we don't allow setting Docker daemon flags, but those instructions don't appear to require changing any flags.




Hi Philip,

I could implement self signed certificate handling in gitlab. I think so it is very important, because most of the users doesn't have a certified server.  AFAIK docker daemon needs to notify that sites have no signed certificate.  Until my bitbucket-pipelines.yml entering to a stages, docker daemon already started. Is there any other method, to notify daemon insecure sites? 




Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 04, 2019

Hi Zemek,

Unfortunately not, for the time being.

I see you've already started following the related feature request for this. So, I'd say that's the best place to watch for updates on us adding support.



Hi Philip,

Yes, thanks I found it later. 



any updates on this.. i don't need an insecure route but a self signed ssl cert should be configable with bitbucket pipeline's docker.

Like Danny Thuering likes this

Has anyone figured out how to connect to a self-signed Docker registry with basic authentication via Bitbucket Pipelines? The Docker documentation says that in some cases you must restart Docker for changes to take effect. How do you restart the Docker service provided by Bitbucket? It's not listed as a service (`service --status-all`) AFAIK.

Edit: after seeing a similar post,, I realize I can't restart BB's Docker.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events