I want to add an insecure-registry for testing purposed on a Windows (10) machine for docker. Unfortunately I was not able to find any information where the usual /etc/docker/default config file is located on Windows.
Is here anyone who was able to add docker options on windows ?
Cheers.
(The error you get when trying to pull from an insecure registry without adding it to the options is: "Failed to tls handshake with x.x.x.x cannot validate certificate for x.x.x.x because it doesn't contain any IP SANs")
update1
I did find a way which looks promising:
but now I get this error: "Get https://x.x.x.x:port/v1/_ping: x509: cannot validate certificate for x.x.x.x because it doesn't contain any IP SANs"
(https://akrambenaissi.com/2015/11/17/addingediting-insecure-registry-to-docker-machine-afterwards/)
update2
After restarting Windows it worked:
The following worked for me: