How to add custom ca-certificate for system-docker use

Hi, I notice that the addition of my own ca-cert to /etc/ssl/certs/ca-certificates.crt only applies to user docker command. That is, I’m now able to pull images from internet using “docker pull xxx”.
However, the cert error persists for system-docker when I’m trying to pull some images for system service:

ERRO[0004] Failed to start: console : Status: Error while pulling image: Get https://index.docker.io/v1/repositories/rancher/os-centosconsole/images: x509: certificate signed by unknown authority, Code: 1

Is there any way to import my ca-cert for system-docker?

1 Like

Still no solution on this yet but I did get a workaround: pulling img with normal docker first and then import it into system-docker image repo.
Fortunately there are not many of imgs to pull for sysdocker.

1 Like

Would be quite useful to get this working because otherwise I can not install ros system services in rancheros behind an enterprise firewall…