Search code examples
dockerdocker-registrycircleciself-signedcircleci-2.0

Self-signed docker registry in CircleCI


I'm using CircleCI 2.0 and I have a private docker registry with self-signed certificate. I'm able to configure my local docker, just like documented here, the problem is in CircleCI:

I'm using remote dockers so when I try to login in Docker registry it's failing with Error response from daemon: Get https://docker-registry.mycompany.com/v2/: x509: certificate signed by unknown authority.

Is there a way to install the certificate in a remote docker? I don't have access to the docker host's shell. I don't want to use machine executor type.


Solution

  • It's not possible. It could only be accomplished by using CircleCI's Enterprise level system.