ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 111 - DCA discussion

Report
Export

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.

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested 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 documentation3or other online guides4.Reference:

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

asked 08/11/2024
Benice dobbins
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first