理论上,理论和实践没有区别。但实践上,是有区别的|

KMP

园龄:3年6个月粉丝:4关注:18

Win11下基于Hyper-V安装Docker

重装系统后发现之前win下配置的中间件还需要重新配置,为了以后部署本地环境方便准备使用Docker搭建环境

安装Docker

在安装 Docker 之前需要开启一下Hyper-VHyper-V好像是win11专业版才有的功能
image

官网:Docker: Accelerated, Containerized Application Development

image

最新版安装位置不可更改点击下载后取消勾选ws直接一路next安装即可

修改docker镜像源为国内源

image

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

在String内Resource下的Disk image location可更改镜像默认下载位置,当前版本我尝试更改无效,docker会卡死重启电脑(docker进程)即可

posted @   KMP  阅读(161)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 Variations on the Kanon by Pachelbel George Winston
Variations on the Kanon by Pachelbel - George Winston
00:00 / 00:00
An audio error has occurred.