Docker Desktop for Windows

Docker Desktop for Windows 安装

下载地址:https://www.docker.com/products/docker-desktop/

Docker源仓库配置

{
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
  "experimental": false,
  "registry-mirrors": [
    "https://your-ali-mirror.mirror.aliyuncs.com"
  ]
}

Docker 镜像存储位置修改

修改Resources下的Disk image location路径到D:\Docker\wsl

图中所示,当前通过界面修改,读取路径时有点问题, 可以到配置文件中直接修改AppData\Roaming\Docker\settings.json
修改:"customWslDistroDir": "D:\Docker\wsl"

posted @ 2023-08-27 23:53  Eric-Liu  阅读(107)  评论(0编辑  收藏  举报