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:
services:
- name: docker:dind
command: ["--insecure-registry=fqdn_of_registry:port"]
Is there a similar method in bitbucket?
Hi Zamek,
Try following the instructions here: https://docs.docker.com/registry/insecure/#use-self-signed-certificates
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.
Thanks,
Phil
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?
thx,
Zamek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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, https://community.atlassian.com/t5/Bitbucket-questions/How-to-configure-docker-daemon-with-pipelines-to-trust-a-private/qaq-p/758893, I realize I can't restart BB's Docker.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.