dockerfiles-windows icon indicating copy to clipboard operation
dockerfiles-windows copied to clipboard

Docker for windows --memory

Open RobinHoody opened this issue 9 years ago • 1 comments

Hi, thanks for all your work on the docker image above!

In the readme above you talk about the JVM memory allocation issue with windows 10, is there a way to set this flag (--memory) using docker-compose or in the docker file or is this only a docker run option?

RobinHoody avatar Apr 05 '17 14:04 RobinHoody

I knew the post was from ages ago but if you're using docker-compose you can set the following parameter mem_limit: 2500M for your service to increase memory allocation. But memory allocation is only necessary if you're running windows docker containers in hyper-v (as is the only option in windows 10) and not natively like you can on windows server 2016.

kavhad avatar Nov 02 '18 11:11 kavhad