docker官网:https://docker.p2hp.com/get-started/index.html
下载完成之后,拉取镜像速度慢,问题如下:
解决方法
- 配置阿里源:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
- 在docker desktop里面设置 docker engine
粘贴内容如下:
{"builder": {"gc": {"defaultKeepStorage": "20GB","enabled": true}},"experimental": false,"features": {"buildkit": true},"registry-mirrors": ["https://(登陆之后自己替换).mirror.aliyuncs.com","https://docker.mirrors.ustc.edu.cn", "https://hub-mirror.c.163.com"]
}