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
• 18,520 points
2,509 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
• 52,350 points
This is a wonderful solution
Hi @johnmax, could you please register at Edureka community and upvote the answer if it helped you?

Thank you!

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,700 points
1,350 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
1,508 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,020 points
2,719 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
• 52,350 points
1,453 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,220 points

edited Oct 16, 2018 by lina 34,141 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP