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.
I’m interested in a solution for this too!
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.
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!
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
}