Docker Certified Associate (DCA) — Question 60

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Set INSECURE_REGISTRY in the ‘/etc/docker/default’ configuration file.

Answer options

Correct answer: B

Explanation

The correct answer is B because the Docker engine requires a secure connection to the registry unless explicitly configured to allow insecure registries. Simply setting INSECURE_REGISTRY in the configuration file does not suffice without proper settings in the Docker daemon configuration.