Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate? Set and export the IGNORE_TLS environment variable on the command line.
The correct ways to configure Docker to use an insecure registry are:
a. Using the daemon.json file:
{
"insecure-registries" : ["myregistry.example.com:5000"]
}
b. Using the Docker daemon flag:
--insecure-registry myregistry.example.com:5000
No, Docker does not have an environment variable like IGNORE_TLS to bypass TLS verification for a registry. If you need to interact with a Docker registry that does not have a trusted TLS certificate, you must configure Docker explicitly to allow the use of an insecure registry.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
__rajan__
2 months, 3 weeks agoLavaPup
3 months, 3 weeks ago