Virtual Machine (VM) vs Docker

  Переглядів 168,240

IBM Technology

IBM Technology

Рік тому

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

КОМЕНТАРІ: 116
@summatim
@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
@Felttipfuzzywuzzyflyguy
@Felttipfuzzywuzzyflyguy Рік тому
This video is technical enough to inform while also being approachable. Very well done, thank you so much!
@neail5466
@neail5466 11 місяців тому
Probably the most complete and concise version in this topic from IBM.❤
@siraz6899
@siraz6899 Рік тому
These tutorials series are really good
@WarpRulez
@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.
@joeycrysel9333
@joeycrysel9333 11 місяців тому
Which is when you run Docker in a VM or LXC.
@fabiandrinksmilk6205
@fabiandrinksmilk6205 11 місяців тому
This is where Podman comes into play.
@markc6714
@markc6714 11 місяців тому
​@@joeycrysel9333 which is when you look for a product for grown ups and not id1ots
@Flankymanga
@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.
@alanjrobertson
@alanjrobertson 11 місяців тому
Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.
@bizmarinainfo1808
@bizmarinainfo1808 Рік тому
Neat and sweet. Thank you for the easy explanation.
@dikieaditya1321
@dikieaditya1321 Рік тому
It is also possible to use VM and then run several Docker container inside that VM.
@p33yush
@p33yush Рік тому
I am not really sure but docker requires something called as kvm acceleration. You will specially need to enable the kvm virtualization in your vm software, then probably you can run docker. I tried it in Ubuntu but my kvm OK was throwing error because it had virtual cpu
@egemenka1
@egemenka1 Рік тому
This is how Docker works in Mac/Windows.
@foodie3140
@foodie3140 Рік тому
Yes you can
@magicball60
@magicball60 Рік тому
It’s actually a common practice
@schmud143
@schmud143 Рік тому
this is a very typical use case from independent learning, researchers, to enterprise environments
@michaelcharlesthearchangel
@michaelcharlesthearchangel Рік тому
One of the best examples to use when thinking of VMs in comparison to a Docker is: Non-executable Vs Executable, UKposts in Chrome browser Vs UKposts App.
@hedgefundsrus
@hedgefundsrus 11 місяців тому
I feel IBM has a Docker-bias because of their partnerships with Docker. Similar with how Microsoft OneDrive favors Adobe applications.
@shafayet5689
@shafayet5689 6 місяців тому
​@@hedgefundsrusyep tbh thats what I also feel
@FuzzerHash
@FuzzerHash Рік тому
Excelente explanation, that's so clear.
@Gutenmorgenside
@Gutenmorgenside 11 місяців тому
The master brewer doing his day job.
@severtone263
@severtone263 2 місяці тому
Great informative explanation. Thank you
@santanuhajra6485
@santanuhajra6485 Рік тому
Fantastic explanation sir !!!
@TinnyHidge
@TinnyHidge Рік тому
Great explanation. Cheers! 👍
@hugofullante3758
@hugofullante3758 Рік тому
Thank you for clear explanation
@Spudgun81
@Spudgun81 Рік тому
Great video. I'd like some videos on telecoms/network concepts.
@tannerkinsey
@tannerkinsey Місяць тому
Far from homebrew… great lecture!
@redo22
@redo22 Рік тому
thanks a lot for these incredible good videos!
@harshulrohilla1868
@harshulrohilla1868 2 місяці тому
GREAT LECTURE THANX TONI KROOS😊
@hpandeymail
@hpandeymail 11 місяців тому
Wow .. great lecture 🙏👏
@Hiram8866
@Hiram8866 Рік тому
Very interesting and informative. I had wondered what the difference was.
@aouss.altwaijry
@aouss.altwaijry Рік тому
Great material.
@veritasliberabitvos454
@veritasliberabitvos454 Рік тому
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.
@Shadab-px2vn
@Shadab-px2vn 21 день тому
these IBM videos are so easy to process. Please create a learning platform too @IBM
@csanvi
@csanvi 10 місяців тому
Thank you Martin.
@thegreatestadvice88
@thegreatestadvice88 11 місяців тому
Thank you for this. I am coming from finance and trying to familiarize myself with technology.
@Z9036
@Z9036 Рік тому
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.
@MichaelClark-ro4vo
@MichaelClark-ro4vo Рік тому
My guess is they flip the whole video horizontally
@patrick1038
@patrick1038 Рік тому
lmao why all that trouble? Why not just flip the video before posting it ?
@Duniel88
@Duniel88 Рік тому
Docker emulates OS VM emulates HW
@jaffarbh
@jaffarbh Рік тому
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 ;-)
@BringMe_Back
@BringMe_Back Рік тому
thanks a lot 👍😊
@simeonovs4443
@simeonovs4443 Рік тому
Great video
@randomdaysy
@randomdaysy Рік тому
Any other home brewers just have their mind blown?
@davidf760
@davidf760 Рік тому
I'm so confused 😂
@MegaStamandster
@MegaStamandster Рік тому
I'm like "When are we going to start talking about brewing?"
@gabrieltruong9052
@gabrieltruong9052 8 місяців тому
I am not dreaming. This guy does everything
@Bultizar
@Bultizar Рік тому
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
@MinorMood
@MinorMood 11 місяців тому
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....
@larryryba4497
@larryryba4497 11 місяців тому
Can we get recipe videos for Dockerbock and Hypervizen?
@vultureTX001
@vultureTX001 11 місяців тому
VM-- because sometimes you will deploy the finished app to actual hardware after perfecting the prototype in VMs.
@MarcoGuardigli00
@MarcoGuardigli00 Рік тому
Please Tell me about your transparent blackboard technology and camera you use so efficiently! Thank you!
@IBMTechnology
@IBMTechnology Рік тому
Search on "lightboard videos"
@TheCallumhutchy
@TheCallumhutchy Рік тому
Very confused when i saw the homebrew guy on an IBM thumbnail 😅
@rikoari
@rikoari Рік тому
Did you flip/mirror the video in the post? Curious on how this writing being done.
@IBMTechnology
@IBMTechnology 11 місяців тому
See ibm.biz/write-backwards
@mukunds3144
@mukunds3144 5 місяців тому
We can run diverse OS in containers also, right? Please correct if I am wrong.
@antoinemasselot5429
@antoinemasselot5429 11 місяців тому
Damn, scrolling UKposts and encountering the beer guy on a VM vs Docker video!! 😂
@MegaStamandster
@MegaStamandster Рік тому
Used to this guy talking about brewing beer :)
@velo1337
@velo1337 Рік тому
VM is also nice if you need a GUI
@akashsivasubramanian4067
@akashsivasubramanian4067 Рік тому
on time.😀😀
@franklemanschik4862
@franklemanschik4862 Рік тому
Little Update for you as Docker also Handels WASM, And is mostly only a qemu like abstraction over libcontainer, Docker has Virtual Hardware i can even do cpu instructions written in JS. So i guess you view it out of a single perspective. When i now Run RISC-V which is a CPU Design and so a Full System i Run Full System Emulation Something much lower then the Hypervisor. or a Virtual Machine Monitor. You should in general maybe update your knowledge with resources about RISC-V
@ErikS-
@ErikS- 10 місяців тому
I watched several videos on "VM vs containers". And practically each video explains it differently, which shows/causes confusion.
@yourmamaisphat
@yourmamaisphat Рік тому
Why is no one talking about how he is writing backwards on the board flawlessly!! 🤯
@continental_drift
@continental_drift Рік тому
He's not writing backwards. Search on "lightboard videos"
@canozmen
@canozmen Рік тому
Well because the video is mirrored
@IBMTechnology
@IBMTechnology 11 місяців тому
See ibm.biz/write-backwards
@canozmen
@canozmen 11 місяців тому
@@IBMTechnology hahah
@yourmamaisphat
@yourmamaisphat 11 місяців тому
@@IBMTechnology Wow, that's a great breakdown video! Also, had me fooled! haha.
@dallasphillips91
@dallasphillips91 Рік тому
This dude makes beer in England, what in the world is he doing here!?!?! @TheHomebrewChallenge
@jeremyfinger843
@jeremyfinger843 11 місяців тому
What does he use to do the writing that shows on the video?? Hardware and software???
@IBMTechnology
@IBMTechnology 11 місяців тому
See ibm.biz/write-backwards
@ok24140
@ok24140 Рік тому
How did you learn to write mirror inversed?
@IBMTechnology
@IBMTechnology 11 місяців тому
See ibm.biz/write-backwards
@JorgetePanete
@JorgetePanete Рік тому
Can you transform what you write into a standard, readable font?
@GaryL3803
@GaryL3803 11 місяців тому
Use close captioning (CC).
@markc6714
@markc6714 11 місяців тому
Mum taught me about number 1s and number 2s. I can only assume number 3s is both at once 😮😅😊
@FrancescoVarrato
@FrancescoVarrato 11 місяців тому
More and more dockers are seen as a way to make Research Data reproducible. Still, the fact that one can certainly reproduce a docker, the problem of reproducibility of scientific research data and code will then depend on how well dockers themselves will be reusable in the future. Also, this detracts from the efforts of using more interoperable formats and protocols. I'm really undecided on whether docker containers are really a good or bad solution for reproducibility.
@MrEndzo
@MrEndzo Рік тому
I have docker running on a VM.
@jaxxonbalboa3243
@jaxxonbalboa3243 Рік тому
Why doesn't Win 11 run Oracle's VM?
@meinlet5103
@meinlet5103 Рік тому
Ive installed docker recently and when I run bash script, it's significantly slower than command line.. how strange
@tablettablete186
@tablettablete186 Рік тому
Usually the 2 things that make containers slower: 1. SECCOMP: it intercepts syscalls and only allow a few 2. FUSE like filesystems: yeah, layered filesystems are slower Note: if you are not using Linux as the host, Docker spins up a Linux VM with might add more overhead
@jrdn5206
@jrdn5206 Рік тому
This isn’t about brewing beer…..
@BrooksOSteen
@BrooksOSteen 4 місяці тому
HOW IS HE WRITING BACKWARDS?
@GoatZilla
@GoatZilla 11 місяців тому
Is this docking?
@JeremyRefoia
@JeremyRefoia Рік тому
cool
@tyrojames9937
@tyrojames9937 Рік тому
COOL. THEY ARE ADVERSARIES❗😁😁
@severalpens
@severalpens 11 місяців тому
With the exception of legacy or patching, I don't get why people are bothering to learn either. As of today you can talk to Microsoft AI Builder to build a Power App. In a few years Docker etc will all be under the hood technology managed by AI and the skills learned will be as useful as COBOL.
@joshuadadula-fy5kn
@joshuadadula-fy5kn 27 днів тому
Try video explaining things vs ai explaining things
@saadfazelpour5385
@saadfazelpour5385 Рік тому
he gave a lot of information but he didn't explain the most important questions.
@raff1584
@raff1584 Рік тому
the most important question is how did he write backwards
@ChristianWaagaard
@ChristianWaagaard 8 місяців тому
​@@raff1584miror/flip video in edit...
@Mark_Wood
@Mark_Wood 11 місяців тому
shouldn't you be brewing?
@ogawasanjuro
@ogawasanjuro Рік тому
How is he writing backwards?
@IBMTechnology
@IBMTechnology 11 місяців тому
See ibm.biz/write-backwards
@kklowd
@kklowd Рік тому
This guy is so handsome
@lewiskelly14
@lewiskelly14 11 місяців тому
VMs are SO MUCH EASIER
@Netryon
@Netryon Рік тому
It's a choice to buy subscription or to use free to play model. Government helps local business and builds all other services around it. Reason why you need Docker in this case, you aren't able to pay for games, which require monthly or yearly fee or must be bought as stand alone package and politicians are shooting her mouth about it. All of that is a problem after paying all bills dreaming about gardening things to have someday. First time for virtualization was sometime ago preparing for Lab 1 experiment, learning basics and after it never needed it.
@AFuller2020
@AFuller2020 11 місяців тому
The problem is Windows as a totally unreliable platform, Linux with VM is the way we go.
@cfwin1776
@cfwin1776 Рік тому
Apple vs orange 😂
@ShivaTD420
@ShivaTD420 Рік тому
Are you actually writting backwards or is there a clever trick happening here
@joh551
@joh551 6 місяців тому
What kind of magic is used for the writing during presentation, or does everyone but me know how to write backwards? LOL
@IBMTechnology
@IBMTechnology 6 місяців тому
See ibm.biz/write-backwards
@alib5503
@alib5503 Рік тому
What exact accent is this?
@vapourmile
@vapourmile 11 місяців тому
All I know about Docker is it's just hugely resource hungry and slow and on top of that I can't think of a single application I'd use it for which I can't just download and run without it. There has been a huge amount of publicity behind Docker and Kubernetes and I just can't find a use for either of them. What I need is not a "how does it work" video it's a "Who actually uses this and why?" video.
@cleverbobby
@cleverbobby 19 днів тому
Seriously? I spent six months getting a Rails app running on a production server. After discovering Docker, it was ten times easier. It's very well suited for the production environment.
@sengs.4838
@sengs.4838 Рік тому
Is this guy seriously write letters in reverse direction like in a mirror ? How ? 😮
@IBMTechnology
@IBMTechnology 11 місяців тому
See ibm.biz/write-backwards
@omariraqihoussaini2813
@omariraqihoussaini2813 Рік тому
The question is wrongly asked, comparing 🍎 s and 🍊 s You can compare VMs to containers. You can compare VMMs to container runtimes. You can compare VMware, KVM, and XEN to Docker.
@christopherpetersen342
@christopherpetersen342 9 місяців тому
Heavy sigh... A generic term on the left and a concrete implementation on the right. An IBM video is blowing off AIX WPARs (also containers) completely? I get not mentioning Solaris zones, but really? And, zero mention of docker as a (generally) 1 by 1 container technology that often needs an extra/external orchestration layer to manage more complex stuff? Some good info but not treating the subject as I might hope to see an intro on youtube...
@enricosacchetti8350
@enricosacchetti8350 Рік тому
Rule of thumb: VM always works, Docker is a pain in the a
@jamescapparell5673
@jamescapparell5673 6 місяців тому
Decent explanation but if you're are going to bother to scribble on a board then at least try to be legible. Pointless if no one can read it.
@RamKumar-kv1fx
@RamKumar-kv1fx Рік тому
A very poor comparison, one can barely call it a comparison. Although he explains stuff, there is no clear distinction or differentiation from one another but just a mere list of points that summarises what is VM & what is docker.
@schmud143
@schmud143 Рік тому
that’s exactly what a comparison is
@iAPX432
@iAPX432 11 місяців тому
Utterly false, in many cases Docker use Hypervisor and VM (it's platform dependent) with it's own H/W emulation and guest OS, and also H/W (CPU) emulation when needed through QEmu. So bad!
Containers vs VMs: What's the difference?
8:08
IBM Technology
Переглядів 729 тис.
What is a Container?
18:24
VMware Cloud Native Apps
Переглядів 661 тис.
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1 млн
What is Docker in 5 minutes
5:19
TechSquidTV
Переглядів 748 тис.
Kubernetes vs. Docker: It's Not an Either/Or Question
8:04
IBM Technology
Переглядів 1 млн
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Переглядів 1,3 млн
Virtual Machines vs Containers
8:57
PowerCert Animated Videos
Переглядів 787 тис.
100+ Docker Concepts you Need to Know
8:28
Fireship
Переглядів 704 тис.
Virtual Machines explained in 15 Mins
15:54
TechWorld with Nana
Переглядів 220 тис.
Containerization Explained
8:09
IBM Technology
Переглядів 682 тис.
The most important AI trends in 2024
9:35
IBM Technology
Переглядів 161 тис.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Переглядів 771 тис.
Apache vs NGINX
7:53
IBM Technology
Переглядів 240 тис.