windows容器内存限制

windows容器内存限制

本文介绍了Docker windows容器内存限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

docker windows容器是否有默认的内存限制?我有一个应用程序,当我在容器中运行时崩溃,但当我尝试指定  - memory
2048mb
   docker
run
 命令似乎运行正常。至少在以前崩溃的情况下。这给我的印象是默认内存
限制,但我在文档中找不到它。所以我的问题是内存限制,如果它是记录的位置?

解决方案

Does docker windows containers have default memory limit? I have an application that was crashing when I run it in the container, but when I tried to specify --memory 2048mb parameter to the docker run command it seems to run fine. At least in the scenario where it was crashing before. This gives me impression that there is default memory limit, but I could not find it in the documentation. So my question is there memory limit and if it is where it is documented?

解决方案


这篇关于Docker windows容器内存限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 06:50