Virtual Machine (VM) vs Docker

170,403
0
Published 2023-04-18
Learn more about Docker → ibm.biz/BdPg33
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)
  • @summatim
    0:01: Difference between Docker and VMs 2:07: Components of Docker 4:02: Components of VMs 5:43: Use cases for VMs 6:52: Use cases for Docker containers 7:56: Considerations for selecting between Docker and VMs 8:27: Transformative impact of virtualization technologies
  • @WarpRulez
    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!
  • @siraz6899
    These tutorials series are really good
  • @neail5466
    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.
  • @Flankymanga
    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.
  • @alanjrobertson
    Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.
  • 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.
  • @Spudgun81
    Great video. I'd like some videos on telecoms/network concepts.
  • @redo22
    thanks a lot for these incredible good videos!
  • @Shadab-px2vn
    these IBM videos are so easy to process. Please create a learning platform too @IBM