Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution. Set INSECURE_REGISTRY in the' /etc/docker/default' configuration file.
Correct Answer: A
Explanation
= Setting INSECURE_REGISTRY in the /etc/docker/default configuration file is one way to configure the Docker engine to use a registry without a trusted TLS certificate. This option tells the Docker daemon to accept insecure connections to the specified registry, bypassing the certificate verification1. However, this method is not recommended, as it exposes the registry and the Docker engine to potential security risks2. A better way to use a registry without a trusted TLS certificate is to add the registry's CA certificate to the Docker daemon's trust store, as described in the Docker documentation3 or other online guides4. References:
* 1: How to build docker registry without SSL
* 2: Verify repository client with certificates | Docker Docs
* 3: "docker pull" certificate signed by unknown authority
* 4: Login to docker registry with client certificate under windows