Virtual Machine (VM) vs Docker
170,403
Published 2023-04-18
Learn more about Virtual Machines → ibm.biz/BdPg3T
Is Docker just a lightweight virtual machine? It's true that both have one thing in common, namely virtualization, but there are significant differences that you will need to understand in order to pick the right one for your requirements. In this video, Martin Keen explains the ways that Docker and virtual machines are similar as well as their main differences. He also covers their relative strengths and ends by offering recommendations on criteria that will help you choose which is best for your project.
Get started for free on IBM Cloud → ibm.biz/sign-up-now
Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
All Comments (21)
-
-
One big difference between the two is the security of the host system: If you run something as root in a VM, it stays in the VM and has no effect on the host OS. You can completely hose the guest system with a botched command ran with root privileges, and the host OS is completely unaffected. However, if you run something as root in Docker, it will be run with root privileges in the host OS. And since you can set a different root password in a docker container, including no password at all, that means you can run stuff with root privileges without a root password from Docker, in a way that affects the host OS (eg. accesses, creates or modifies files in the host OS with root privileges). I'm not making that up, just search Docker's own documentation on security.
-
This video is technical enough to inform while also being approachable. Very well done, thank you so much!
-
These tutorials series are really good
-
Probably the most complete and concise version in this topic from IBM.❤
-
It is also possible to use VM and then run several Docker container inside that VM.
-
Today I had a use case - a situation where we needed to decide do we need to use a docker or a virtual machine. I need a secure environment and thus isolation was very important and we choose the VM path.
-
One of the best examples to use when thinking of VMs in comparison to a Docker is: Non-executable Vs Executable, YouTube in Chrome browser Vs YouTube App.
-
Neat and sweet. Thank you for the easy explanation.
-
Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.
-
Excelente explanation, that's so clear.
-
Thank you for clear explanation
-
Docker - Plus it is like lego, get the pieces you need to build the environment even to the versions. So, SQL / MYSQL / Mongodb / Node / Redis Cache, etc. You bring the pieces / config in the docker compose to link these parts together. And most works well.
-
Thank you for this. I am coming from finance and trying to familiarize myself with technology.
-
Great informative explanation. Thank you
-
Great video. I'd like some videos on telecoms/network concepts.
-
Great explanation. Cheers! 👍
-
Fantastic explanation sir !!!
-
thanks a lot for these incredible good videos!
-
these IBM videos are so easy to process. Please create a learning platform too @IBM