• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

解决docker 内存 不足问题

武飞扬头像
PHP中文网
帮助87

docker内存不足的解决办法:1、找到“C:\Users\(username)\AppData\Roaming\Docker\settings.json”;2、编辑memoryMiB值;3、重启docker即可。

学新通技术网

如何解决docker 内存 不足问题?

解决docker dektop Not enough memory内存不足RAM,Unable to start

在修改RAM至14Gb之后启动失败,提示内存不足,无法从GUI的settings中更改,提示错误如下

问题

Unable to start
at Docker.Core.Pipe.NamedPipeClient.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup)
at Docker.Actions.<>c__DisplayClass24_0.b__0()
at Docker.ApiServices.TaskQueuing.TaskQueue.<>c__DisplayClass17_0.<.ctor>b__1()

Not enough memory in the system to start the virtual machine DockerDesktopVM.

Could not initialize memory: Ran out of memory (0x8007000E).

'DockerDesktopVM' failed to start. (Virtual machine ID E882D002-05C8-47C9-B90E-303A9C6E22EC)

Not enough memory in the system to start the virtual machine DockerDesktopVM with ram size 2048 megabytes. (Virtual machine ID E882D002-05C8-47C9-B90E-303A9C6E22EC)

解决

Out of memory - Issue since latest update · Issue #4368 · docker/for-win
 https://github.com/docker/for-win/issues/4368

解决方法是,您可以手动编辑settings.json文件以减少VM内存。这通常在

C:\Users\(username)\AppData\Roaming\Docker\settings.json。编辑memoryMiB值。

学新通技术网

学新通技术网

重启docker问题解决!

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tangbhfie
系列文章
更多 icon
同类精品
更多 icon
继续加载