Docker for windows —— 配置文件,设置 镜像仓库地址

 

{
  "registry-mirrors": [],
  "insecure-registries": ["192.168.33.21:5000"],
  "debug": false,
  "experimental": false,
  "features": {
    "buildkit": true
  },
  "builder": {
    "gc": {
      "enabled": true,
      "defaultKeepStorage": "20GB"
    }
  }
}

  

 

https://docs.docker.com/desktop/windows/

Docker Engine

The Docker Engine page allows you to configure the Docker daemon to determine how your containers run.

Type a JSON configuration file in the box to configure the daemon settings. For a full list of options, see the Docker Engine dockerd commandline reference.

Click Apply & Restart to save your settings and restart Docker Desktop.

 

posted @ 2021-12-27 13:39  PanPan003  阅读(1611)  评论(0)    收藏  举报