DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 5


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.

Show Answer
Correct Answer:

Discussion

4 comments
Sign in to comment
forgaoqiang
Sep 16, 2024

setting INSECURE_REGISTRY in the /etc/docker/default configuration file is a way to configure the Docker engine to use a registry without a trusted TLS certificate The Answer should be YES, it's not recommended,but it works

forgaoqiang
Sep 16, 2024

I check the docker document, it's "insecure-registries" not "insecure-registry"

vladcp
Sep 25, 2024

I believe this should be setting 'insecure-registries' in /etc/docker/daemon.json

__rajan__Option: B
Jan 7, 2025

The Correct answer is No /etc/docker/default is not a valid Docker configuration file it should be "/etc/docker/daemon.json" INSECURE_REGISTRY is not the correct parameter name (it should be "insecure-registries") The configuration should be in JSON format in daemon.json