Is there a way to configure Docker for Windows to accept a self-signed SSL?

0 votes

at work my network is using SSL inspection, it is quitting all SSL traffic since it has root CA certificate.

Now when I pull an image using the docker client, I get the following error:

$ docker pull ubuntu
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority

I'm running on windows 10 and I have installed the latest version of Docker for Windows.

Where can I install the root certificate?

Nov 22, 2018 in DevOps & Agile by Sophie may
• 9,850 points
665 views

1 answer to this question.

0 votes

This issue is discussed in the official docs. Try adding it to the following  C:\ProgramData\docker\config\daemon.json:

{
  "insecure-registries" : ["registry-1.docker.io"]
}
answered Nov 22, 2018 by Tyrion anex
• 8,270 points

Related Questions In DevOps & Agile

+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
1,024 views
0 votes
1 answer

How to a run deployed app in Docker for Windows?

To deploy an ASP.NET web application to ...READ MORE

answered Aug 29, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
122 views