Virtual Machine (VM) vs Docker

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 เม.ย. 2023
  • 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

ความคิดเห็น • 119

  • @Felttipfuzzywuzzyflyguy
    @Felttipfuzzywuzzyflyguy ปีที่แล้ว +53

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

  • @summatim
    @summatim ปีที่แล้ว +36

    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
    @WarpRulez ปีที่แล้ว +30

    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.

    • @itsathejoey
      @itsathejoey ปีที่แล้ว +2

      Which is when you run Docker in a VM or LXC.

    • @fabiandrinksmilk6205
      @fabiandrinksmilk6205 ปีที่แล้ว +3

      This is where Podman comes into play.

    • @markc6714
      @markc6714 ปีที่แล้ว

      ​@@itsathejoey which is when you look for a product for grown ups and not id1ots

  • @dikieaditya1321
    @dikieaditya1321 ปีที่แล้ว +17

    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 ปีที่แล้ว +7

      This is how Docker works in Mac/Windows.

    • @foodie3140
      @foodie3140 ปีที่แล้ว

      Yes you can

    • @magicball60
      @magicball60 ปีที่แล้ว +2

      It’s actually a common practice

    • @schmud143
      @schmud143 ปีที่แล้ว

      this is a very typical use case from independent learning, researchers, to enterprise environments

  • @michaelcharlesthearchangel
    @michaelcharlesthearchangel ปีที่แล้ว +27

    One of the best examples to use when thinking of VMs in comparison to a Docker is: Non-executable Vs Executable, TH-cam in Chrome browser Vs TH-cam App.

    • @hedgefundsrus
      @hedgefundsrus ปีที่แล้ว

      I feel IBM has a Docker-bias because of their partnerships with Docker. Similar with how Microsoft OneDrive favors Adobe applications.

    • @shafayet5689
      @shafayet5689 7 หลายเดือนก่อน

      ​@@hedgefundsrusyep tbh thats what I also feel

  • @siraz6899
    @siraz6899 ปีที่แล้ว +6

    These tutorials series are really good

  • @Flankymanga
    @Flankymanga ปีที่แล้ว +12

    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.

  • @neail5466
    @neail5466 ปีที่แล้ว +5

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

    • @user-nw2ls5xq9k
      @user-nw2ls5xq9k หลายเดือนก่อน

      Motherboard Intelligence? 😂

  • @Z9036
    @Z9036 ปีที่แล้ว +6

    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 ปีที่แล้ว +7

      My guess is they flip the whole video horizontally

    • @patrick1038
      @patrick1038 ปีที่แล้ว +1

      lmao why all that trouble? Why not just flip the video before posting it ?

  • @Gutenmorgenside
    @Gutenmorgenside ปีที่แล้ว +5

    The master brewer doing his day job.

  • @alanjrobertson
    @alanjrobertson ปีที่แล้ว +3

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

  • @bizmarinainfo1808
    @bizmarinainfo1808 ปีที่แล้ว +4

    Neat and sweet. Thank you for the easy explanation.

  • @veritasliberabitvos454
    @veritasliberabitvos454 ปีที่แล้ว +2

    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 หลายเดือนก่อน

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

  • @FuzzerHash
    @FuzzerHash ปีที่แล้ว +1

    Excelente explanation, that's so clear.

  • @Duniel88
    @Duniel88 ปีที่แล้ว

    Docker emulates OS VM emulates HW

  • @severtone263
    @severtone263 4 หลายเดือนก่อน

    Great informative explanation. Thank you

  • @santanuhajra6485
    @santanuhajra6485 ปีที่แล้ว

    Fantastic explanation sir !!!

  • @Hiram8866
    @Hiram8866 ปีที่แล้ว +8

    Very interesting and informative. I had wondered what the difference was.

  • @hugofullante3758
    @hugofullante3758 ปีที่แล้ว

    Thank you for clear explanation

  • @TinnyHidge
    @TinnyHidge ปีที่แล้ว +1

    Great explanation. Cheers! 👍

  • @jaffarbh
    @jaffarbh ปีที่แล้ว +2

    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 ;-)

  • @thegreatestadvice88
    @thegreatestadvice88 ปีที่แล้ว

    Thank you for this. I am coming from finance and trying to familiarize myself with technology.

  • @Spudgun81
    @Spudgun81 ปีที่แล้ว +1

    Great video. I'd like some videos on telecoms/network concepts.

  • @vultureTX001
    @vultureTX001 ปีที่แล้ว +2

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

  • @harshulrohilla1868
    @harshulrohilla1868 3 หลายเดือนก่อน

    GREAT LECTURE THANX TONI KROOS😊

  • @tannerkinsey
    @tannerkinsey 2 หลายเดือนก่อน

    Far from homebrew… great lecture!

  • @randomdaysy
    @randomdaysy ปีที่แล้ว +46

    Any other home brewers just have their mind blown?

    • @davidf760
      @davidf760 ปีที่แล้ว +1

      I'm so confused 😂

    • @MegaStamandster
      @MegaStamandster ปีที่แล้ว +1

      I'm like "When are we going to start talking about brewing?"

    • @gabrieltruong9052
      @gabrieltruong9052 9 หลายเดือนก่อน

      I am not dreaming. This guy does everything

  • @larryryba4497
    @larryryba4497 ปีที่แล้ว +2

    Can we get recipe videos for Dockerbock and Hypervizen?

  • @Bultizar
    @Bultizar ปีที่แล้ว +2

    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

  • @aouss.altwaijry
    @aouss.altwaijry ปีที่แล้ว +1

    Great material.

  • @hpandeymail
    @hpandeymail ปีที่แล้ว

    Wow .. great lecture 🙏👏

  • @csanvi
    @csanvi 11 หลายเดือนก่อน

    Thank you Martin.

  • @TheCallumhutchy
    @TheCallumhutchy ปีที่แล้ว +2

    Very confused when i saw the homebrew guy on an IBM thumbnail 😅

  • @MinorMood
    @MinorMood ปีที่แล้ว +1

    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....

  • @MarcoGuardigli00
    @MarcoGuardigli00 ปีที่แล้ว +2

    Please Tell me about your transparent blackboard technology and camera you use so efficiently! Thank you!

  • @mukunds3144
    @mukunds3144 7 หลายเดือนก่อน

    We can run diverse OS in containers also, right? Please correct if I am wrong.

  • @fajarsumiratbinmuhrip3426
    @fajarsumiratbinmuhrip3426 21 วันที่ผ่านมา

    Which one does the AWS cloud services use, VMs or Dockers...?

  • @BringMe_Back
    @BringMe_Back ปีที่แล้ว +1

    thanks a lot 👍😊

  • @simeonovs4443
    @simeonovs4443 ปีที่แล้ว

    Great video

  • @rikoari
    @rikoari ปีที่แล้ว +1

    Did you flip/mirror the video in the post?
    Curious on how this writing being done.

  • @ErikS-
    @ErikS- 11 หลายเดือนก่อน +1

    I watched several videos on "VM vs containers".
    And practically each video explains it differently, which shows/causes confusion.

  • @velo1337
    @velo1337 ปีที่แล้ว +1

    VM is also nice if you need a GUI

  • @franklemanschik4862
    @franklemanschik4862 ปีที่แล้ว +2

    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

  • @jeremyfinger843
    @jeremyfinger843 ปีที่แล้ว

    What does he use to do the writing that shows on the video?? Hardware and software???

  • @ok24140
    @ok24140 ปีที่แล้ว +1

    How did you learn to write mirror inversed?

  • @BrooksOSteen
    @BrooksOSteen 5 หลายเดือนก่อน +1

    HOW IS HE WRITING BACKWARDS?

  • @JorgetePanete
    @JorgetePanete ปีที่แล้ว

    Can you transform what you write into a standard, readable font?

    • @GaryL3803
      @GaryL3803 ปีที่แล้ว

      Use close captioning (CC).

  • @MegaStamandster
    @MegaStamandster ปีที่แล้ว

    Used to this guy talking about brewing beer :)

  • @dallasphillips91
    @dallasphillips91 ปีที่แล้ว +2

    This dude makes beer in England, what in the world is he doing here!?!?! @TheHomebrewChallenge

  • @antoinemasselot5429
    @antoinemasselot5429 ปีที่แล้ว

    Damn, scrolling TH-cam and encountering the beer guy on a VM vs Docker video!! 😂

  • @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

  • @akashsivasubramanian4067
    @akashsivasubramanian4067 ปีที่แล้ว

    on time.😀😀

  • @BriefNerdOriginal
    @BriefNerdOriginal ปีที่แล้ว +2

    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.

  • @yourmamaisphat
    @yourmamaisphat ปีที่แล้ว +1

    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  ปีที่แล้ว +1

      See ibm.biz/write-backwards

    • @canozmen
      @canozmen ปีที่แล้ว

      @@IBMTechnology hahah

    • @yourmamaisphat
      @yourmamaisphat ปีที่แล้ว

      @@IBMTechnology Wow, that's a great breakdown video! Also, had me fooled! haha.

  • @jaxxonbalboa3243
    @jaxxonbalboa3243 ปีที่แล้ว

    Why doesn't Win 11 run Oracle's VM?

  • @MrEndzo
    @MrEndzo ปีที่แล้ว +1

    I have docker running on a VM.

  • @markc6714
    @markc6714 ปีที่แล้ว

    Mum taught me about number 1s and number 2s. I can only assume number 3s is both at once 😮😅😊

  • @jrdn5206
    @jrdn5206 ปีที่แล้ว +2

    This isn’t about brewing beer…..

  • @CarlosGonzalez-hy8in
    @CarlosGonzalez-hy8in 20 วันที่ผ่านมา

    I couldn't pay attention to the video, because I was trying to understand how you can write backwards 😅

  • @severalpens
    @severalpens ปีที่แล้ว

    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.

  •  ปีที่แล้ว

    cool

  • @GoatZilla
    @GoatZilla ปีที่แล้ว

    Is this docking?

  • @saadfazelpour5385
    @saadfazelpour5385 ปีที่แล้ว +2

    he gave a lot of information but he didn't explain the most important questions.

    • @raff1584
      @raff1584 ปีที่แล้ว +1

      the most important question is how did he write backwards

    • @ChristianWaagaard
      @ChristianWaagaard 9 หลายเดือนก่อน

      ​@@raff1584miror/flip video in edit...

  • @Mark_Wood
    @Mark_Wood ปีที่แล้ว

    shouldn't you be brewing?

  • @joshuadadula-fy5kn
    @joshuadadula-fy5kn 2 หลายเดือนก่อน

    Try video explaining things vs ai explaining things

  • @ogawasanjuro
    @ogawasanjuro ปีที่แล้ว

    How is he writing backwards?

  • @tyrojames9937
    @tyrojames9937 ปีที่แล้ว

    COOL. THEY ARE ADVERSARIES❗😁😁

  • @ShivaTD420
    @ShivaTD420 ปีที่แล้ว

    Are you actually writting backwards or is there a clever trick happening here

  • @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.

  • @kklowd
    @kklowd ปีที่แล้ว

    This guy is so handsome

  • @alib5503
    @alib5503 ปีที่แล้ว

    What exact accent is this?

  • @joh551
    @joh551 7 หลายเดือนก่อน

    What kind of magic is used for the writing during presentation, or does everyone but me know how to write backwards? LOL

    • @IBMTechnology
      @IBMTechnology  7 หลายเดือนก่อน

      See ibm.biz/write-backwards

  • @AFuller2020
    @AFuller2020 ปีที่แล้ว

    The problem is Windows as a totally unreliable platform, Linux with VM is the way we go.

  • @lewiskelly14
    @lewiskelly14 ปีที่แล้ว

    VMs are SO MUCH EASIER

  • @vapourmile
    @vapourmile ปีที่แล้ว

    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 หลายเดือนก่อน

      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.

  • @oiraqih
    @oiraqih ปีที่แล้ว +1

    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.

  • @sengs.4838
    @sengs.4838 ปีที่แล้ว

    Is this guy seriously write letters in reverse direction like in a mirror ? How ? 😮

  • @cfwin1776
    @cfwin1776 ปีที่แล้ว

    Apple vs orange 😂

  • @christopherpetersen342
    @christopherpetersen342 10 หลายเดือนก่อน

    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...

  • @RamKumar-kv1fx
    @RamKumar-kv1fx ปีที่แล้ว +1

    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

  • @jamescapparell5673
    @jamescapparell5673 7 หลายเดือนก่อน

    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.

  • @enricosacchetti8350
    @enricosacchetti8350 ปีที่แล้ว +1

    Rule of thumb: VM always works, Docker is a pain in the a

  • @twessels1234
    @twessels1234 14 วันที่ผ่านมา

    too verbose, no point, too long, get lost

  • @iAPX432
    @iAPX432 ปีที่แล้ว

    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!