Containers vs VMs: What's the difference?

2024 ж. 12 Мам.
733 013 Рет қаралды

Learn more about Containers: ibm.biz/guide-to-containers
Learn more about VMs: ibm.biz/virtual-machines-guide
What are virtual machines and containers, and how do they fit into our modern cloud-native way of building and architecting applications?
In this lightboard video, Nigel Brown with IBM Cloud, answers this question and much more in four parts. He also breaks down why users should not just look at virtual machines and containers as competing technologies because there can be a lot of benefits of having them work together for particular use cases.
Get started on IBM Cloud at no cost: ibm.biz/start-ibm-cloud-lite-a...
Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
#Containers #VirtualMachines #CloudComputing

Пікірлер
  • key sentence is: "VM is isolation of machines, while Containers is isolation of processes"

    @7heLostAndDamned@7heLostAndDamned2 жыл бұрын
    • thats actually pretty deep😂😂

      @Dvonoznapalacinka@Dvonoznapalacinka2 жыл бұрын
    • Yeah, well that was the world in 2016. Since than some things have changed in regards of containers - and (traditional) process level isolation is today starting to feel somewhat legacy ;) At least from the security perspective.

      @ThoriumHeavyIndustries@ThoriumHeavyIndustries2 жыл бұрын
    • @@ThoriumHeavyIndustries do you mean for example we need VPCs to increase security between container processes? Would love to hear your thoughts about this as I'm not very familiar =]

      @7heLostAndDamned@7heLostAndDamned2 жыл бұрын
    • @@ThoriumHeavyIndustries Hi Thorium, can you please share something on what you said?

      @contactdi8426@contactdi84262 жыл бұрын
    • @@7heLostAndDamned There are several projects going on for some time to add a lightweight virtualization layer to container runtimes. The most important project in that direction is KATA, but there are some others. This year we have already seen 3 critical vulnerabilities affecting especially container platforms, so this is surely they way to go if you dont want to intensively dive into SELinux and Seccomp. Baidu did an awseome whitepaper on their use of Kata back in oct.2019. RedHat also has this on their Roadmap for OpenShift probably coming this year.

      @ThoriumHeavyIndustries@ThoriumHeavyIndustries2 жыл бұрын
  • 1. The level at which virtualization happens - virtualization happens at hardware level vs. OS level 2. The type of isolation achieved - isolation of machines vs. isolation of processes 3. How resources are accessed - via hypervisor vs. via kernel features such as namespace and cgroups 4. Flexibility of hardware vs. portability

    @fuqingwang1344@fuqingwang13442 жыл бұрын
    • Great note taking skills! Bravo & thanks!

      @carmensandoval5581@carmensandoval55812 жыл бұрын
    • That pretty much summarizes the video. Thank you

      @zayanimeriam6926@zayanimeriam69262 жыл бұрын
    • summarizes the video, but if you would explain it like that in short sentences to someone who never used VMs or containers they would be dumbfounded. like the video and how it introduces you to the main points.

      @PsychoPod@PsychoPod Жыл бұрын
    • @@PsychoPod the video was pretty simple dude just playy it back it back like i did lol

      @OWUchii@OWUchii Жыл бұрын
    • @@OWUchii I was commenting on the comment, not on the video. Video did a good job explaining everything.

      @PsychoPod@PsychoPod Жыл бұрын
  • Can we get Nigel to do more explanation videos? Super great explanation and very personable speaker!

    @junya_watanabe761@junya_watanabe7613 жыл бұрын
    • His my fav.

      @sandilemasemola6593@sandilemasemola6593 Жыл бұрын
    • Couldn't agree more.

      @russelldehart2362@russelldehart2362 Жыл бұрын
    • Agreed thats the best explanation ive ever heard.

      @alexpajp123@alexpajp1232 ай бұрын
  • I'm really impressed with the explanation as well as the lightboard which has been used. Most tutors use traditional whiteboards or PowerPoint presentations. Technically and content wise this lecture is a class above. Thanks a lot Nigel!!!

    @reeteshhurkhoo9231@reeteshhurkhoo92313 жыл бұрын
    • I mean its IBM

      @thunderingeagle@thunderingeagle Жыл бұрын
  • 💡AHA! Moment here @7:21! We can run VMs and Containers as technologies that can work together not as competing technologies. Great video! Shoutouts to the whole team behind this video! Nigel, you're amazing!

    @carmensandoval5581@carmensandoval55812 жыл бұрын
  • Dude, I wish I had more teachers like you when I was entering the tech field. You have explained this very well in such a short video.

    @wavemancali@wavemancali Жыл бұрын
  • 2:17 OS level virtualization --Containers vs hardware level virtualization --VM 4:17 isolation of process --Containers vs isolation of the machine --VM 4:22 different in access: 5:37 different in flexibility(VM) and portability (Container) : [6:03 Docker file] 6:55 Type1 HYPERVISOR & Type2 HYPERVISOR; 7:22 collaboration of type2 HV (flexibility) and Containers(portability) --KubeVirt, new version of Kubernetes, OpenShift.

    @lisun7158@lisun71582 жыл бұрын
  • Finally someone who can make the topic understandable. Nigel, you and the team that produced this video are great. IBM is really lucky to find you!

    @guidoricciardi@guidoricciardi3 жыл бұрын
  • Real sweet-spot delivery: technical content explained clearly and accurately, in accessible and conversational language. My employer holds twice-yearly conventions; I'd give a lot to have Nigel Brown invited as a guest presenter.

    @whippoorwill1124@whippoorwill1124 Жыл бұрын
  • Very well explained Nigel, really liked the way and the speed at which you explained - not too fast or too slow. Keep it up, make more videos. Cheers!

    @dasamlan1984@dasamlan19843 жыл бұрын
  • Finally I found a clear and clean explanation about these two confusing (at least for me) concepts. Thank you for excellent presentation!

    @mirzosharifjalolov4247@mirzosharifjalolov42472 жыл бұрын
  • By far, this video brought more clarity about containers than the many videosI watched previously. Newbie to cloud engineering and getting my knowledge up for the AZ900 so trying to dissect everything cloud. Thanks for making this much easier to understand and build on!

    @lesterpalmiano3171@lesterpalmiano31712 жыл бұрын
  • Finally, someone who knows how to demystify vague IT concepts; thanks brother for an absolutely lucid explanation.

    @adebolarotimi-silva2049@adebolarotimi-silva2049 Жыл бұрын
  • The easiest and best explanation that I have seen on youtube about containers vs VM! Nicely done!

    @Exen88@Exen88 Жыл бұрын
  • Great video. You did an awesome job explaining the strength of both VMs and containers.👍🏽

    @aanderson1037@aanderson10373 жыл бұрын
  • Great video and explanation. I have went through training but this is one of the best explanations that I have had. Thanks for sharing.

    @Darltk@Darltk3 жыл бұрын
  • This is best simplest explanation I have seen. Thank you NIgel. I'll look for other videos by you.

    @forrestpasky@forrestpasky2 жыл бұрын
  • Thank you Nigel for an amazing presentation. The information you presented was so clear and concise despite the gravity of the content. If I can't explain Containers vs VMs to my grandparents, then I don't understand the technology myself. Thank you for allowing me to express my new found knowledge with others.

    @seanp3462@seanp3462 Жыл бұрын
  • This guy is great! I really feel like I learned something here, keep it up Nigel!

    @arnavpatel7995@arnavpatel79953 жыл бұрын
    • Hope to see more from this guy, succinctly explained so even novices can understand!

      @Beerferatu@Beerferatu3 жыл бұрын
    • Vraj Patel I completely agree. I’m a pretty not smart person and Mr. Brown here made me feel like I could do anything.

      @arnavpatel7995@arnavpatel79953 жыл бұрын
    • I almost thought you were gonna say the n word O_o

      @raghavkamath@raghavkamath3 жыл бұрын
    • Couldn't agree more! He explains things in way that makes you want to learn more! Thank You so much Mr. Brown.

      @cosmicpuma1409@cosmicpuma14093 жыл бұрын
    • @@Beerferatu i also agree with you. He is very natural and brings no over-hype voice to his presentation. Just easy to listen to.

      @DarkwngDuck@DarkwngDuck2 жыл бұрын
  • Nigel's energy is infectious! Please more videos with him😊

    @zedddoctor@zedddoctor10 ай бұрын
  • Thanks. I’ve been trying to understand containers for an AWS cert exam and other videos were either too detailed or full of vague company jargon that the average person doesn’t understand. This is short, clear, and to the point. Thanks!

    @darman210@darman210 Жыл бұрын
  • Awesome job explaining these topics! Please have Nigel in more videos!!!

    @r3jk8@r3jk83 жыл бұрын
  • Man, that was one of the greatest explanations I've ever seen! Congratulations Nigel and IBM!

    @Lontra-vg1hi@Lontra-vg1hi2 жыл бұрын
    • Thank you, Leonardo! 🙏 Glad you found it useful!

      @IBMTechnology@IBMTechnology2 жыл бұрын
  • Great explanation! And thank you for the education and representation 🙏🏾✊🏾

    @BurnaBwoi@BurnaBwoi3 жыл бұрын
  • Nigel!!!! This is exactly how I remember you in Production School! lol. Great Teacher, Great Mind, Great Person! Tell mom I said Hi!

    @zhiyonmalay101@zhiyonmalay1013 жыл бұрын
  • this bro is just amazing. I took notes of every word he said and understood every bit of it. Thank you bro.

    @511cvxzlugynskii3@511cvxzlugynskii33 жыл бұрын
  • Damn this was thoroughly explained and simplified

    @DemecosChambers@DemecosChambers3 жыл бұрын
  • Thanks Nigel. I am just prepping for my AWS Solutions Architects exam and this explanation was clear, concise and delivered in an enjoyable and engaging style.

    @krishardy9896@krishardy989610 ай бұрын
  • This is super tastefully edited. Compliments to the editor/graphic designers (:

    @jdib@jdib Жыл бұрын
  • Great video. I like the fact that at the end, when the thumbnails for other KZhead videos show up, the main video is turned off and the main screen goes black, but the main video's audio is still audible.

    @aalampratapbedi7890@aalampratapbedi78909 ай бұрын
  • I am a AA female and I loved seeing you on this video tonight! Gave me so much inspiration thanks!!

    @shariw6563@shariw65632 жыл бұрын
  • That was actually very well explained. So clear.

    @grapy83@grapy833 жыл бұрын
  • Great explanation. Love the part about "...isolation of process." Makes Docker crystal clear.

    @johnathan2684@johnathan2684 Жыл бұрын
  • Clear, concise, digestible lesson. Very impressed

    @quinnluong114@quinnluong1142 жыл бұрын
  • It's 2AM and i'm watching tech videos for no reason, they just make me feel good idk why

    @MohaDou@MohaDou2 жыл бұрын
    • 🙌🔥

      @PerezTheDev@PerezTheDev2 жыл бұрын
  • The best video in the internet explaining this concept. Period

    @jibejay5357@jibejay5357 Жыл бұрын
  • Excellent concise explanation, thanks Nigel!

    @OferGuetta@OferGuetta3 жыл бұрын
  • Great video. I’ve been passively wondering what’s the difference for months. U gave me the answer spot on

    @emillee7081@emillee70813 жыл бұрын
    • Thanks for watching, Emil! 😃

      @IBMTechnology@IBMTechnology3 жыл бұрын
  • I made an assumption about Type-2 VMs in that Hyper-V, on Windows 10 or Server, was considered Type-2. But according to Microsoft it is actually Type-1. Until I saw this video I was not aware of the Type-1 / Type-2 distinction, even though I was aware that there was or should be one. I enjoyed your video Nigel. Thank you.

    @michaeldfulton@michaeldfulton3 жыл бұрын
  • I recently started to learn some very basic stuff with Linux about a month ago and my friend was showing me things about containers and docker files (we were using discord). This video was a tremendous help to me now, a month later, in making all that information he was showing me click. Now it makes so much more sense with your simple visual breakdown between VM and Containers. Amazing job!

    @ryanbroos5143@ryanbroos51433 жыл бұрын
    • Thank you!

      @IBMTechnology@IBMTechnology3 жыл бұрын
  • Dudes enthusiasm makes it easy to understand. Loved it! Love me some containers!

    @TannerBarcelos@TannerBarcelos Жыл бұрын
  • This is my third video on containers, and I finally get it. Excellent explanation!

    @carrieq7409@carrieq7409 Жыл бұрын
  • Beautifully and effectively presented!

    @WmTyndale@WmTyndale2 жыл бұрын
  • Such a great explaination. By illustrating how VMs vs Containers are built, you clarifed alot. Thank you good sir!

    @tak0331@tak0331 Жыл бұрын
  • Dude you know your stuff so easy to listen to--you are probably great to alongside with!!!

    @jimbob2629@jimbob26292 жыл бұрын
  • Nigel, you explained PERFECT! Loved this presentation!

    @CatLady502@CatLady502 Жыл бұрын
  • Great explanation Nigel, the concepts stuck in my head.

    @budmonk2819@budmonk28192 жыл бұрын
  • I so loved this. Im working with VMs and interested in moving to containers so this helps a lot

    @NekoFairyLand13@NekoFairyLand132 жыл бұрын
    • Glad you found it useful! Thanks for watching! ✌️ Be sure to check back on our channel from time to time (or even subscribe). We've got more interesting videos coming up.

      @IBMTechnology@IBMTechnology2 жыл бұрын
  • Nice presentation. You made it so easy to understand. Agree on comments below that the key take away: "VM is isolation of machines, while Containers is isolation of processes". Much appreciate your effort.

    @rossivan75@rossivan75 Жыл бұрын
  • Well this is the most clear I've been on the difference, but I'm still gonna need like another 5 hours of these discussions before it actually clicks for me from the type 2 perspective.

    @eklypzn@eklypzn3 жыл бұрын
  • Great job Nigel..!! Glad you did this post...

    @robertslaughter6525@robertslaughter65253 жыл бұрын
  • Very well explained. Thanks Nigel. Looking forward for more of your videos.

    @chethank1603@chethank1603 Жыл бұрын
  • Bloody hell man, that was brilliant. This type of video really puts IBM on the map for me. Very informative in a very easy to understand format. This was a precursor for me to understanding Kubernetes for a work project. That's a totally different beast. But for now, I learnt what was essential. Many thanks.

    @scottscott232@scottscott2322 жыл бұрын
    • You're welcome, Steve, and thanks for the great feedback! 🙏 Be sure to subscribe for more videos like this one. 😉

      @IBMTechnology@IBMTechnology2 жыл бұрын
  • Finally I understand after hours and hours of reading information. Thanks Nigel!

    @waltherdanielmelchorbarrio7035@waltherdanielmelchorbarrio7035 Жыл бұрын
  • very well explained. thank you very much

    @waxxsniperace100@waxxsniperace1009 ай бұрын
  • Simple and easy to understand. Well done. Thank you

    @adedamolaadeogun1038@adedamolaadeogun10382 жыл бұрын
  • Very good presentation. I am a type I virtualization guy. I have been looking to get into containers to build my skills. Solid down to earth explanation.

    @SmithFam2323@SmithFam23233 жыл бұрын
    • Thanks for watching, Dewayne! 💙

      @IBMTechnology@IBMTechnology3 жыл бұрын
  • This was a WONDERFUL explanation! Thank you!

    @colleendanielle2396@colleendanielle23962 жыл бұрын
  • Always wondered the differences. Thanks for the info.

    @Duder_abides@Duder_abides3 жыл бұрын
  • Very well explained, thank you!

    @dharam35@dharam353 жыл бұрын
  • Excellent overview -- agree with Rick Chow on the isolation difference - thanks

    @jimmarkwalder8341@jimmarkwalder83412 жыл бұрын
  • Wow! What an awesome video! Thanks, Nigel!

    @liambirt3758@liambirt37583 жыл бұрын
  • Smooth explained and in a simple way

    @RizwanHaiderRH@RizwanHaiderRH3 жыл бұрын
  • Wow! It was explained in a very simple way. I think I can show it to my grandma and she will get this

    @24monaco@24monaco3 жыл бұрын
  • Folks and IBM Cloud, any other videos by Nigel? I've been searching.... This was brilliant!

    @mohamedcamara1972@mohamedcamara19723 жыл бұрын
  • Very well structured, Nigel

    @orlandocarrillo7132@orlandocarrillo7132 Жыл бұрын
  • This was such an amazing explanation Nigel, hats off🙌

    @ShivangShandilyaa@ShivangShandilyaa10 ай бұрын
  • Thank you! That’s the exact difference I needed to hear. VM is at the OS level and containers are at the process level.

    @xiongbenjamin@xiongbenjamin Жыл бұрын
  • This is a great explanation! I’ve been seeing more and more docker and kubernetes and just couldn’t figure out why somebody would want a container if they both technically make Virtualization. But seeing that one happens at the hardware lvl and one happens at the OS level that makes a lot of sense. I wonder if there is a security risk between the containers if somebody is able to gain access to the OS.

    @df6148@df6148 Жыл бұрын
  • EXCELLENT explanation and presentation!

    @lloyd_talks@lloyd_talks2 жыл бұрын
  • Awesome explanation. Thank you, Nigel! One thing is I just couldn't ignore the sharp scratching noise caused by the marking pen which can really drive my brain crazy.

    @huanzhenhu3327@huanzhenhu33273 жыл бұрын
    • I'm 100% with that, the scratching noise is really troubling- wonder why it was not there in some other videos.

      @binarypushpa@binarypushpa Жыл бұрын
  • Awesome video. Awesome speaker. Clear and concise and easy to follow

    @jjno@jjno Жыл бұрын
  • Perfect, hats off to Nigel

    @flawlessfootstomper7004@flawlessfootstomper70043 жыл бұрын
  • Thanks for the explanation Nigel!

    @RealityMilitaryTV@RealityMilitaryTV2 жыл бұрын
  • thank you for differentiating between vm and container in a clear manner

    @trendyniro@trendyniro Жыл бұрын
  • Finally someone managed to explain this in a way that even I could grasp.

    @CGA111@CGA111 Жыл бұрын
  • This is the best explanation of this I've ever seen

    @TastyTrees916@TastyTrees916 Жыл бұрын
  • Thank you for this information.

    @3Jesse33@3Jesse333 жыл бұрын
  • very clear explanation, thanks for the nice work

    @kingofcampbell6413@kingofcampbell64133 жыл бұрын
  • Way to go, simply perfect!!

    @yele2652@yele26523 жыл бұрын
  • Crystal clear presentation of conceptual application approach anchoring the basis of difference between elements and beyond environment.

    @shyamasingh9020@shyamasingh90203 жыл бұрын
  • This helped a lot thank you Nigel.

    @kyledrewes6552@kyledrewes65522 жыл бұрын
  • what a great overview.

    @cetx@cetx3 жыл бұрын
  • Nice Demonstration...! 👍

    @shankarnathmajumder@shankarnathmajumder3 жыл бұрын
  • Very clear explanation! Thanks 👍

    @int.21@int.213 жыл бұрын
  • Wonderful video. Keep more coming!

    @mikewashington4188@mikewashington41883 жыл бұрын
  • Thank you, great and clear explanation

    @Aramis7@Aramis73 жыл бұрын
  • Great discussions of Virtual machines vs containers.

    @GoCloudArchitects@GoCloudArchitects3 жыл бұрын
  • Great video Nigel!

    @travishaasch@travishaasch3 жыл бұрын
  • Dude, I want to hug you - that was a great explanation.

    @sachinkainth9508@sachinkainth9508 Жыл бұрын
  • such a good video with great explanation. Thanks!

    @thuann2cats@thuann2cats Жыл бұрын
  • Great informative explanation. Thank you

    @severtone263@severtone2633 ай бұрын
  • Great Explanation - you made it so easy for me to understand containers as compare to VM .

    @comedyworld8831@comedyworld8831 Жыл бұрын
  • Great explanation, made a lot of sense, very helpful.

    @nidalhasan9347@nidalhasan9347 Жыл бұрын
  • Wow great and precise explanation

    @apemoses7231@apemoses72312 жыл бұрын
  • That is honestly very helpful. Thank you so much!

    @mariamal-kfaween5779@mariamal-kfaween5779 Жыл бұрын
  • Very good explanation! It helped me a lot. Thanks!

    @studywithclayton@studywithclayton2 жыл бұрын
  • Excellent Explanation Nigel!!

    @user-kv5vc7eb4d@user-kv5vc7eb4d3 ай бұрын
  • Good video, one addition as this has confused some people I have met. In the VM world we also talk about the host OS. The host OS is the one the HV is running on. In the VMs on top of the HV you have the guest OSes. The difference is that each virtual instance has its own guest OS while the containers run in one OS. This is if you do not use a bare metal HV of course. (Type 1 and Type 2 were a little bit quickly brushed over towards the end) I do like the "isolation of a machine vs. isolation of a process" explanation.

    @CloudEvangelist@CloudEvangelist3 жыл бұрын
    • Much more concise explanation without the long video.

      @JimAllen-Persona@JimAllen-Persona3 жыл бұрын
    • The focus of this video was on Type 1 HV, which is what you're primarily interested in in the scope of cloud applications 2:27. Type 2 was mentioned as an example familiar to many people on consumer level. I agree that VMs hierarchy depiction is misleading. I would draw it like: OS1, OS2, OS3... M1, M2, M3... HV HW

      @LordOfBrownies@LordOfBrownies3 жыл бұрын
    • @@LordOfBrownies To me, it’s kind of like the definition of a “cloud”. It is what the marketers want it to be. My definition of a “cloud” is a ubiquitous access point where the actual host connection point is unimportant. Companies have internal “clouds” running out of their data centers whereas the common opinion of a “cloud” is that it’s hosted elsewhere. Yes, IBM’s hypervisors can spin up dedicated storage service and network services on the same physical host simultaneously. Not something you’d really see on ESX in my limited experience. I’m a DBA so I think of containers in a database context although I know that containers exist in the application space as well and I’m sure there are containers that encompass both the database and applications as a single container. I’m not in MS land so I have to force myself to think of things like Azure.

      @JimAllen-Persona@JimAllen-Persona3 жыл бұрын
    • @@JimAllen-Persona I work in automotive industry, and don't have much experience using containers. And as I understand the topic of this video, the question is what options does a cloud provider have to organize simultaneous access to the HW resources. The method used must be transparent to you as a customer in any scenario, the differences are only in overhead and security. If you as a customer want to use a container or a HV inside your (likely) VM, you could do it as well (given that nested virtualization is supported). But I think this video doesn't cover such a use case.

      @LordOfBrownies@LordOfBrownies3 жыл бұрын
  • Nice job Nigel, making us IBMers proud! One comment -- none of this is specific to Linux, all of it can run on Windows, System z, etc, etc.

    @ericwendel8149@ericwendel81493 жыл бұрын
KZhead