声明:本站文章均为作者个人原创,图片均为实际截图。如有需要请收藏网站,禁止转载,谢谢配合!!!

相关阅读: Docker教程(1):Linux安装docker

1、下载docker安装包并安装

https://www.docker.com/

2、更新linux子系统

https://docs.microsoft.com/zh-cn/windows/wsl/install-manual

3、配置docker镜像

右上角 setting / Docker Engine
新增 “registry-mirrors”:[“https://docker.mirrors.ustc.edu.cn“] 配置

{
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
  "experimental": false,
  "features": {
    "buildkit": true
  },
  "registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]
}