How to increase docker-machine memory Mac

0 votes

My VM needs 4GB of memory. I’m using the following command to do so

docker run --rm --net=host memsql/quickstart check-system

But I’m getting this error

Error: MemSQL requires at least 4 GB of memory to run.

What do I do?

Jul 26, 2018 in Docker by Hannah
• 14,070 points
182 views

1 answer to this question.

0 votes

when you create docker machine, you can nominate the memory size:

docker-machine create -d virtualbox --virtualbox-memory 4096 default

or

docker-machine stop
VBoxManage modifyvm default --cpus 2
VBoxManage modifyvm default --memory 4096
docker-machine start
answered Jul 26, 2018 by Kalgi
• 40,440 points

Related Questions In Docker

0 votes
2 answers
0 votes
1 answer

How to get a browsable url from Docker-for-mac or Docker-for-Windows?

LoadBalancer will work on Docker-for-Mac and Docker-for-Windows ...READ MORE

answered Oct 10, 2018 in Docker by Tyrion anex
• 8,270 points
43 views
0 votes
1 answer

How to increase cpu share and memory of a container?

This should work: docker update --cpu-shares 5120 -m ...READ MORE

answered Dec 3, 2018 in Docker by Haseeb
42 views
0 votes
1 answer
0 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
• 56,520 points
154 views
0 votes
1 answer

How to ssh into docker-machine VirtualBox instance?

You can log into docker-machine hosts by ...READ MORE

answered Aug 1, 2018 in Docker by Kalgi
• 40,440 points
60 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,110 points

edited Oct 16, 2018 by lina 4,246 views