Virtual Machines vs Containers - Which is right for you?

Virtual Machines and Containers are two ways that you can deploy multiple, isolated services on a single platform. We are all aware of the big names like Docker Container, VMWare, and VirtualBox, but do we know which one is appropriate for our organization's use case? Every project is different and you need to make sure you choose the right underlying technology for your services. In this video, Don will walk you through the pros and cons, provide examples, and side-by-side compare each platform's features and use cases.
Do you prefer Virtual Machines or Container? Which works right for your organization? Let us know in the comments below!
Subscribe to get the latest videos: go.itpro.tv/subscribe
Connect with Don Pezet:
Twitter: / donpezet
LinkedIn: / donpezet
Blog: blog.itpro.tv
Are you interested in learning tech skills? Get access to online IT skills and certification training from ITProTV. Home of binge-worthy learning, ITProTV offers teams and individuals 5800+ hours of engaging & effective on-demand video training for the latest technology skills. Watch live or on-demand daily. Start learning free at ITProTV: go.itpro.tv/start-learning-now
#virtualmachinesvscontainers #virtualmachinesvsdocker #containervsvmware

Пікірлер: 69

  • @kso35
    @kso352 жыл бұрын

    I could explain in a three paper paper how much I appreciate this video and the various reasons, but I'll just keep it to the fact that I spent the last hour and half watching KZread videos on Containers vs VMs before coming across this one. You are a great teacher and thank you for the visuals and the real world comparisons with the car. Had to subscribe because of this one video. Thank you!

  • @bobbybologna3029

    @bobbybologna3029

    2 жыл бұрын

    Ditto.

  • @Bader1940

    @Bader1940

    Жыл бұрын

    Same here!

  • @Jennifer-fk5xi
    @Jennifer-fk5xi3 жыл бұрын

    Wow, this is the best comparison I have seen. The analogy of carpooling and car rental makes it so clear

  • @ITProTv

    @ITProTv

    2 жыл бұрын

    Glad the analogy helped! Thanks for watching.

  • @rogermoore5672

    @rogermoore5672

    2 жыл бұрын

    @@ITProTv In the VM explanation....you refer to partitions....is it fair to say that each partition is a VM....the two terms can be used interchangeably? In the car pooling analogy, does the car represent a single VM or a single piece of hardware?

  • @rogermoore5672

    @rogermoore5672

    2 жыл бұрын

    Actually I think I've got it....the car is the physical server....each passenger is a VM....I think.

  • @shrutishovandas5883
    @shrutishovandas5883 Жыл бұрын

    This video is so helpful and easy to understand

  • @bobbybologna3029
    @bobbybologna30292 жыл бұрын

    Nice, I was going all over youtube trying to get a clear explanation on just containers, I'm trying to build my own virtualization homelab server and learn about the tech involved and I just couldn't figure out why I wouldn't just run a trimmed down version of a VM lol now I get it, thanks.

  • @pedrojaviermunozgarcia3721
    @pedrojaviermunozgarcia3721 Жыл бұрын

    The best explanation I've found about this topic!!

  • @mllenessmarie
    @mllenessmarie3 жыл бұрын

    What a wonderful explanation! So clear and concise, straight to the point. Merci!

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Thank you for the kind words! Be sure to subscribe to our channel and tell a friend :)

  • @badromadaugy6668
    @badromadaugy66682 жыл бұрын

    By far the Best explanation I´ve found on youtube about containers, their purpose and benefits of using.

  • @ITProTv

    @ITProTv

    2 жыл бұрын

    Thank you! We're so happy that you have been enjoying the content!

  • @chriseaguilar7
    @chriseaguilar72 жыл бұрын

    Excellent video. Straight to the point and great visuals. Cheers.

  • @buffalodebill7986
    @buffalodebill79862 жыл бұрын

    Maybe it's worth mentioning, that VMs also have the advantage of being able to share computing resources across multiple users (partial virtualization), which comes handy. More, with a good setup and on a good HW, you can have more virtual instances than physical HW could provide. Both have their merits, of course. Good & simple to understand video - thumbs up.

  • @essierios1665

    @essierios1665

    2 жыл бұрын

    That is True!

  • @Alphahydro
    @Alphahydro3 жыл бұрын

    This was spot on. With LXC, there’s an option to make the container unprivileged, so this will aid in isolating it from other containers from a security perspective.

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    You're absolutely right! It's surprising that LXC isn't more popular than it currently is. Thanks for watching!

  • @hunterherron2172
    @hunterherron21723 жыл бұрын

    Excellent breakdown! Definitely have a better understanding of these two concepts after watching.

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Great to hear! Thanks for tuning in.

  • @lohphat
    @lohphat3 жыл бұрын

    De-duplication of storage (i.e. on NetApp) and in RAM (VSphere) greatly reduce VM resource consumption. If all the VM templates are identical copies of the same OS, then they can even run in hardware under a single, shared read-only code block.

  • @ramanjaneyareddy9026
    @ramanjaneyareddy9026 Жыл бұрын

    Love this explanation, I was flattered in just first 2 min.. love this

  • @vishakhank9669
    @vishakhank96692 жыл бұрын

    Very simple explanation. Thanks 👍

  • @scottgilsdorf2938
    @scottgilsdorf29382 жыл бұрын

    Your "VS" discussion was very helpful for me to determine my route! Thanks enjoyed the video!

  • @ITProTv

    @ITProTv

    2 жыл бұрын

    Glad to hear it!

  • @jasonsong6747
    @jasonsong67472 жыл бұрын

    Thanks for the explanation Al Bundy!

  • @CubeCraft1997
    @CubeCraft19973 жыл бұрын

    Don is always the best at explaining things!

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    We agree with you! Glad you're enjoying the content.

  • @RashadPrince

    @RashadPrince

    3 жыл бұрын

    I want to learn something new, I check in with Don first

  • @cysecstud9714
    @cysecstud9714 Жыл бұрын

    Awesome video!

  • @knutblaise9437
    @knutblaise94372 жыл бұрын

    4:00 will you please explain how VMs can NOT run in any of the environments you listed? VMs should be able to run in all of those environments though you may need to convert the VM image to the destination hyper-visor format.

  • @thorhammer7153
    @thorhammer71532 жыл бұрын

    Unfortunately all the tutorial I saw about Docker/ Containers doesn't really show how the applications can be use in a container. It's all about creating an image and downloading them. Does anyone know any youtube that shows how application can be run in a container. Thanks.

  • @PritiMishra25
    @PritiMishra253 жыл бұрын

    Lovely information thanks for it 👍

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Our pleasure. Watch for more versus videos coming soon!

  • @jameswilson2417
    @jameswilson2417 Жыл бұрын

    Thanks Mr (No Mole )De Niro ! 😎

  • @victorparisi4441
    @victorparisi44413 жыл бұрын

    Great content!

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Thanks!

  • @mmmm-gs4mc
    @mmmm-gs4mc2 жыл бұрын

    thanks

  • @timotheeoliveau3568
    @timotheeoliveau35683 жыл бұрын

    Amazing video !

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Thank you!

  • @studywithclayton
    @studywithclayton2 жыл бұрын

    Very good explanation.

  • @ITProTv

    @ITProTv

    2 жыл бұрын

    Thanks!

  • @brypan1795
    @brypan17952 жыл бұрын

    me gustó el vídeo 😁

  • @erottegmail
    @erottegmail2 жыл бұрын

    Where can I find a full demo of a working virtual machine based on containers?

  • @jesusromero9167
    @jesusromero91672 жыл бұрын

    Great video!

  • @ITProTv

    @ITProTv

    2 жыл бұрын

    Glad you enjoyed it!

  • @nicejungle
    @nicejungle Жыл бұрын

    Subtitles at 3:49 inaudible : "for those OSes" (plurial of operating system)

  • @kickstartnetworking3347
    @kickstartnetworking33472 жыл бұрын

    Given the low prices of hardware and the fact that I can run multiples os such as windows server 2019/2022 windows 10/11 and Linux in my home pc, I'd rather virtualization and the full control that a virtual machine provides, what if you need ADDS or GPOs, what if you have an application that runs only in windows, will you implement both?, containers and virtualization?

  • @coolhand67
    @coolhand67 Жыл бұрын

    You can also run a container platform in a VM. I think you missed the security aspect. But still a good video.

  • @ricateano1994
    @ricateano19942 жыл бұрын

    does that mean that on a single hardware, if we use containers , all containers can only run one type of os? unlike with VM that can have different OS per vm.??

  • @apostlelshelly9900
    @apostlelshelly99002 жыл бұрын

    Do anyone know how to install ProctorU VM with out being detectable?

  • @ladreamin5008
    @ladreamin5008 Жыл бұрын

    Can you run both types on 1 ProxMox server using two drives?

  • @problemsolvingwithpython2291
    @problemsolvingwithpython22912 жыл бұрын

    I don't understand one thing.. I ran alpine linux container and ubuntu container, 2 different linux distributions, how are they sharing the os on my ubuntu host or mac host? It appears they have their own OSs and you are saying they share OS.

  • @kelecortez5834
    @kelecortez58343 жыл бұрын

    Mahalo for vid

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Thanks for watching!

  • @Endermen1094
    @Endermen10942 жыл бұрын

    Vms coming from chrostini doesn't feel right and it is a catainer because of chromeos was my first Unix like os and using it didn't feel right for home usage ; chrostini default terminal emulater isn't protected from nano's hot key ctrl w toys to close the emulator

  • @frankynakamoto2308
    @frankynakamoto23082 жыл бұрын

    Why not have a Hypervisor and a container both in the same, gets both advantages and also even better, you have multiple operating systems with hypevisor and also the advantages of the containers, multiple containers, there should be no issue now a days with so much memory and more powerful mobile phones.

  • @zuliano05
    @zuliano053 жыл бұрын

    In this case, Where is the GUEST OS when we are talking about Containers?

  • @bertnijhof5413
    @bertnijhof54132 жыл бұрын

    Virtual Machines (VM) are not treated fairly! My Virtualbox VMs on my Ryzen 3 2200G boots much faster from a SP nvme-SSD (3400/2300 MB/s). I just booted the VMs I need today; Xubuntu 22.04 LTS boots in 7.2 seconds; Ubuntu 16.04 ESM did boot in 10 seconds and Windows 11 Pro did boot in 53 seconds. In all 3 cases it included the typing of the password and loading the desktop.

  • @owlmostdead9492
    @owlmostdead94923 жыл бұрын

    Podman?

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    Podman is a container hosting platform capable of running in user space so you do not have to be root to run it. You can learn more about it here: podman.io/

  • @owlmostdead9492

    @owlmostdead9492

    3 жыл бұрын

    @@ITProTv hey :) thanks for replying, I know I was just wondering why you haven’t mentioned podman. Thanks for sharing your knowledge!

  • @AZTechLabs
    @AZTechLabs2 жыл бұрын

    Containers don't secure you against viruses.

  • @mortensimonsen1645
    @mortensimonsen1645 Жыл бұрын

    Pretty biased. After watching this I can see no reason to run VMs. So I guess we should containers for everything? Not so fast, containers have their own complexity, not touched upon here. I will say that if you crave auto-scaling, hardware-efficiency, etc - go with containers. If that is not important, avoid it - because you need *extra* expertise to run containers compared to "simple" VMs.

  • @defunctuserchannel
    @defunctuserchannel2 жыл бұрын

    why do you wear a completely dehumanizing corporate d o r k shirt? jfc

  • @ITProTv

    @ITProTv

    2 жыл бұрын

    Don is actually AI, and the computer thought that shirt made him look more human. Clearly, it was a miss. We'll train the AI better for the future.

  • @rayamoooooo685
    @rayamoooooo6853 жыл бұрын

    *thanks*

  • @ITProTv

    @ITProTv

    3 жыл бұрын

    You're welcome!