1、windows container模式下,pull镜像会失败
no matching manifest for windows/amd64 in the manifest list entries
2、windows container模式下会存在问题,再次切换到linux container模式下,启动会出现问题
out of memory
3、解决memory问题 右击docker状态栏的图标windows下docker使用及注意事项,选择设置(settings),再将advanced下的memory从2048修改为1280,自动重启后即可成功启动。 windows下docker使用及注意事项windows下docker使用及注意事项 4、docker默认下载的镜像基本上都是在国外,下载速度会非常缓慢,需要进行设置镜像加速 使用阿里云加速的方法: 1)登录阿里云镜像加速网站,登录成功后会出现个人专属加速器url windows下docker使用及注意事项 2)配置到docker配置文件 windows下的配置文件目录为:C:\ProgramData\Docker\config\daemon.json
{"registry-mirrors":["自己的专属url"],"insecure-registries":[], "debug":true, "experimental": true}
3)测试加速器是否设置成功
docker info
windows下docker使用及注意事项 出现框出的参数即代表设置成功。

查看原文:http://www.rain9.cn/2018/02/28/windows%e4%b8%8bdocker%e4%bd%bf%e7%94%a8%e5%8f%8a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a1%b9/

相关文章:

  • 2020-03-23
  • 2021-05-29
  • 2021-06-01
  • 2021-06-24
  • 2021-11-18
  • 2021-09-20
  • 2021-10-27
猜你喜欢
  • 2021-11-18
  • 2021-08-31
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案