Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Virtual Box or Docker: Which sandbox environment needs less system resources?

Virtual Box or Docker: Which sandbox environment needs less system resources?

Explorer

Community,

I am considering getting sandbox up and running on my Macbook Pro [16GB Ram] but I was not completely sure which one to install Virtual Box or Docker.

Which of these two uses less system resources to get up and running?

Which one would you recommend?

Thanks much in advance for your help,

Reddy

3 REPLIES 3

Re: Virtual Box or Docker: Which sandbox environment needs less system resources?

Docker would save resources if you could share the host kernel. On MacOS, you need to run docker-machine before you can run docker containers, so you will have a full Linux VM anyway. From that point of view, it should not make much difference, use whatever you like better.

Re: Virtual Box or Docker: Which sandbox environment needs less system resources?

New Contributor

If you use Docker for Mac it will use less resources because it will use the native hypervisor built into macOS and install a minimal OS on top of that. Much more light weight compared to a full VM under virtual box.

Re: Virtual Box or Docker: Which sandbox environment needs less system resources?

Contributor

I tried both Virtualbox and Docker on the same Macbook, Docker used less resources and was faster.

Don't have an account?
Coming from Hortonworks? Activate your account here