Docker Community Forums

Share and learn in the Docker community.

How to install a private registry's certificate on Windows?

(Bruno Bigras) #1

The doc says to put the cert in a <host>:<port> directory but Windows doesn’t allow me to use the colon character in a directory’s name.

(Iiptyf) #2

I’m interested in a solution for this too!

(Jeff Anderson) #3

It is the docker daemon that needs the certificate. If you installed virtualbox on your windows workstation via docker toolbox, then you just need to follow the instructions for installing a certificate in your boot2docker vm.

(Taschmidt) #4

I can’t get this working. I’ve tried copying it into the boot2docker VM at /etc/docker/certs.d/<registry>/ca.crt but it doesn’t work. I’ve also tried using the --insecure-registry switch and passing tlsverify=false but nothing I’ve tried has worked!

(Carlosamartins) #5

Configure the Docker Daemon settings by typing a json docker daemon.
In my case worked. I am using Docker version 1.12.0-rc4-beta20 for windows.

“registry-mirrors”: [],
“insecure-registries”: [“your.registry.server”],
“debug”: false