Docker Community Forums

Share and learn in the Docker community.

Reloading certificate


I’m planning to move my registry to another server, where I will also want to use a new certificate, which is placed in /etc/docker/certs.d/myregistry/

I need to deploy the certificate on all servers, but I don’t really want to restart the docker daemon, to “load” the new certificate file. Is there a way to reload the certificate file, without restarting all containers?

Will the command "kill -HUP " help me on this and reload the certificate file?
When I just replace the certificate file, it doesn’t seem to work as expected.

I’m using Docker version 1.10.3

Thank you!

1 Like

Did you ever come up with an answer to this? I’d like to know the same thing. Sure would be nice to be a bit less aggressive for a simple certificate addition.