跳转查看这个文章
官方下载地址 双击安装
微软应用商店搜索Ubuntu,安装Ubuntu20.04
Resources
栏目,选择WSL integration
Enable integration with additional distros
下点击开关,启动打开桌面版docker应用
点击右上角的设置
选择docker engine
默认配置文件为
{ "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": false }
粘贴镜像源
, "registry-mirrors": [ "https://hub.rat.dev", "https://docker.1panel.live", "https://dockerproxy.cn", "https://docker.m.daocloud.io", "https://dockerpull.org" ]
粘贴后是这样的
{ "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": false, "registry-mirrors": [ "https://hub.rat.dev", "https://docker.1panel.live", "https://dockerproxy.cn", "https://docker.m.daocloud.io", "https://dockerpull.org" ] }
本文作者:Weee
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!