You are pulling images from a Docker Trusted Registry installation
configured to use self-signed certificates, and this error appears:
`x509: certificate signed by unknown authority.
You already downloaded the Docker Trusted Registry certificate authority
certificate from https://dtr.example.com/ca.
How do you trust it? (Select two.)
To trust a self-signed certificate from a Docker Trusted Registry (DTR), you need to place the certificate in the appropriate location on all cluster nodes and restart the Docker daemon. There are two possible locations for the certificate, depending on your OS and Docker version1:
* /etc/docker/certs.d/dtr.example.com/ca.crt: This is the preferred location for Linux systems and Docker versions 1.13 and higher. This directory is scanned by Docker for certificates and keys for each registry domain2.
* Your OS certificate path: This is the fallback location for other OSes and Docker versions. You need to find the certificate store for your OS and copy the certificate there. You also need to trust the certificate system-wide, which may require additional steps depending on your OS3.
The other options are not correct because:
* Passing '-trust-certificate ca.crt to the Docker client is not a valid option. There is no such flag for the Docker client4.
* Placing the certificate in '/etc/docker/dtr/dtr.example.com.crt' is not a valid location. The certificate should be in the /etc/docker/certs.d directory, not the /etc/docker/dtr directory1.
* Passing -- insecure-registry to the Docker client is not a recommended option. This flag disables the TLS verification for the registry, which makes the communication insecure and vulnerable to attacks.
* Use self-signed certificates | Docker Docs
* Test an insecure registry | Docker Docs
* Add TLS certificates as a trusted root authority to the host OS | Docker Docs
* docker | Docker Docs
* [Deploy a registry server | Docker Docs]
Lizbeth
2 months agoGeorgene
1 months agoDoyle
1 months agoRoosevelt
1 months agoMoon
2 months agoBrinda
2 months agoXuan
2 months agoFrank
2 months agoOctavio
1 months agoHildegarde
1 months agoHoward
2 months agoSheron
2 months agoYolande
3 months agoNada
3 months agoGlennis
1 months agoNida
2 months agoBette
2 months agoGlenn
3 months agoMoon
3 months agoGladys
3 months agoPaola
2 months agoMattie
2 months agoSonia
2 months agoGabriele
3 months agoVal
2 months agoLeonida
3 months ago