I am playing with docker-machine
on my rough machine where I generally play with new things. I create a docker machine using the following command
docker-machine create --driver virtualbox dockerinwild
and configure docker client to work with dockerinwild
machine. Everything is working fine. But It takes all of my cpus and memory is low. How can I customize the virtualbox created by docker-machine
?
🔗 Yes, you can run VirtualBox along with Docker Desktop if you have enabled the Windows Hypervisor Platform feature on your machine.
Docker machine is a tool that lets you install Docker Engine on virtual hosts. These hosts can now be managed using the docker-machine commands. Docker machine also lets you provision Docker Swarm Clusters.
I figure out how to customize it
docker-machine create --driver virtualbox --virtualbox-cpu-count 2 --virtualbox-memory "4096" --virtualbox-disk-size "10000" dockerinwild
Official documentation with full list of virtualbox driver options : https://docs.docker.com/machine/drivers/virtualbox/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With