How to customize the RAM allocation on Docker for Windows

0 votes
Starting Docker for windows app takes up too much RAM.

When I start docker for windows memory usage increases to 1.5 GB out of 6 GB and this is without even running a container. How can I prevent docker from taking up so much RAM?
Nov 16, 2018 in DevOps & Agile by Sophie may
• 10,550 points
2,983 views

2 answers to this question.

0 votes
You can customize the RAM allocation. Just decrease memory usage on the app.

Go to settings > Advanced tab > you can allocate CPUs and so on.
answered Nov 16, 2018 by Tyrion anex
• 8,690 points
0 votes

Try this:

docker update --cpu-shares 5120 -m 3000M ml-tm
answered Dec 7, 2018 by Maverick
• 10,840 points

Related Questions In DevOps & Agile

+2 votes
1 answer

Error: You might need to start Docker for Windows. How do i start the daemon?

Hi, If you are running containers with Docker, ...READ MORE

answered May 19, 2020 in DevOps & Agile by MD
• 95,300 points
5,843 views
0 votes
1 answer

How can a script identify the difference between Docker Toolbox and Docker for Windows?

Now, the Toolbox works through docker-machine. The way ...READ MORE

answered Aug 24, 2018 in DevOps & Agile by Tyrion anex
• 8,690 points
259 views
+1 vote
3 answers
0 votes
1 answer

How to a run deployed app in Docker for Windows?

To deploy an ASP.NET web application to ...READ MORE

answered Aug 30, 2018 in DevOps & Agile by Tyrion anex
• 8,690 points
323 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
1,313 views