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,080 points
87 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 35,750 points

Related Questions In Docker

0 votes
1 answer
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,280 points
22 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
23 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,120 points
56 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
• 35,750 points
45 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,100 points

edited Oct 16, 2018 by lina 1,956 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.