1.点击settings

在这里插入图片描述

2.点击Docker Engine

在这里插入图片描述

3.添加镜像仓库

在这里插入图片描述

{
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
  "experimental": false,
  "features": {
    "buildkit": true
  },
  "registry-mirrors": [
    "https://fy707np5.mirror.aliyuncs.com",
    "http://hub-mirror.c.163.com"
  ]
}

点击Apply&Restart重启即可

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐