I use docker engine 18.05.0-ce-win67 (18263). On my macOS I have succeeded in pulling images from my company's private docker registry. then I
copied the files
client.cert,client.keyandca.crtto my Windows 10 into:C:\ProgramData\Docker\certs.d\docker.company.net\C:\Users\<user>\.docker\certs.d\docker.company.net\
imported the certificates into my Windows global certificates store and user certificates store.
Sadly, I still get this:
> docker pull <company.docker.url>/<some image> Error response from daemon: Get https://<company.docker.url>/v2/: remote error: tls: handshake failure Two more things to notice:
- If I switch to Windows Containers, I can successfully login or pull images, only fails with LCOW.
- My private cert is signed by an intermediate cert, and the intermediate cert is contained in my
client.cert.
Some references I have read:
2 Answers
Answers 1
I would try two things:
- Did you tried: docker login first before to pull the images?
- Restart the client and repeat.
Answers 2
I had this error on windows, too. In my case, restarting the docker daemon helped.
0 comments:
Post a Comment