I found a file called com.docker.service.config
under C:\Program Files\Docker\Docker
. How to configure the registry mirror inside this file? The file is in XML format as follows:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
</startup>
</configuration>
Can't find any documentation on docker official website, can anyone shed some light? Thanks.
Found the solution unintentionally:
Open C:\Users\<YourName>\.docker\daemon.json
, edit the "registry-mirrors" entry in that file.
{"registry-mirrors":["https://registry.docker-cn.com"],"insecure-registries":[], "debug":true, "experimental": true}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With