Virtual Machine (VM) vs Docker

preview_player
Показать описание

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.

Рекомендации по теме
Комментарии
Автор

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

summatim
Автор

This video is technical enough to inform while also being approachable. Very well done, thank you so much!

Felttipfuzzywuzzyflyguy
Автор

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.

DjVortex-w
Автор

It is also possible to use VM and then run several Docker container inside that VM.

dikieaditya
Автор

Probably the most complete and concise version in this topic from IBM.❤

neail
Автор

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.

Flankymanga
Автор

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.

michaelcharlesthearchangel
Автор

These tutorials series are really good

siraz
Автор

More videos from Martin. Excellent tone/delivery and super intuitive explanations that went to the right level of depth

bob_bobsen
Автор

It just struck me, but look at his hand movements when writing--he really is writing inverse. And I don't see any obvious cuts. If he does these videos in a single take while also writing English inversed right-to-left, that's quite something. That or a brilliant editing team.

Z
Автор

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.

veritasliberabitvos
Автор

my adhd got distracted that this dude is writing (or seems to be writing), backwards right to left. kudos on that.

tjwreds
Автор

you really were writing all these words mirrored - so they would look in an normal way for the viewer on the other side of the screen? Wow? that blew my mind....

MinorMood
Автор

Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.

alanjrobertson
Автор

Nothing stops you from running containers within VMs, although that's not the most efficient way of using resources but it's the best of the two worlds ;-)

jaffarbh
Автор

Any other home brewers just have their mind blown?

randomdaysy
Автор

Neat and sweet. Thank you for the easy explanation.

bizmarinainfo
Автор

It's common to see Docker Running on Hypervisor based VM's. Do what needs to be done for your environment. I don't think IT has ever been as modular as it is nowadays

Bultizar
Автор

these IBM videos are so easy to process. Please create a learning platform too @IBM

Shadab-pxvn
Автор

VM-- because sometimes you will deploy the finished app to actual hardware after perfecting the prototype in VMs.

vultureTX