Docker Certified Associate (DCA) — Question 61

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Pass the ‘--insecure registry’ flag to the daemon at run time.

Answer options

Correct answer: A

Explanation

The correct answer is 'Yes' because using the '--insecure registry' flag allows the Docker daemon to interact with an insecure registry. The alternative answer 'No' is incorrect as it overlooks the option provided for insecure registry configuration.