Interview Prep/Docker/Registry, pull and push errors

`x509: certificate signed by unknown authority` on `docker pull` from a private registry.

IntermediateTroubleshootingRegistry, pull and push errors
Answer

Likely causes → Self-signed or internal CA not trusted by the daemon.

Diagnose → openssl s_client -connect reg.example.com:443 -showcerts </dev/null.

Fix → Put the CA at /etc/docker/certs.d/reg.example.com/ca.crt (no restart needed) or into the system trust store, then retry.

Prevent → Use certificates from a trusted CA (ACME, internal PKI distributed to hosts).

All Docker questions Roadmap: Docker & containers

More on Registry, pull and push errors