Virtual Machine (VM) vs Docker

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 160

  • @Duniel88
    @Duniel88 Рік тому +10

    Docker emulates OS VM emulates HW

  • @summatim
    @summatim Рік тому +55

    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 Рік тому +76

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

  • @DjVortex-w
    @DjVortex-w Рік тому +53

    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 Рік тому +3

      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

  • @neail5466
    @neail5466 Рік тому +8

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

    • @AlyssaK-z2d
      @AlyssaK-z2d 8 місяців тому

      Motherboard Intelligence? 😂

  • @BrooksOSteen
    @BrooksOSteen Рік тому +36

    HOW IS HE WRITING BACKWARDS?

    • @Halfdome05
      @Halfdome05 5 місяців тому +16

      Without knowing it, I would assume that the video is simply flipped.

    • @copycatlyn
      @copycatlyn 4 місяці тому +1

      @@Halfdome05 lol people are so funny

    • @007knikhil
      @007knikhil 4 місяці тому +1

      I believe there is a writable glass board between camera and him and we are looking through that glass

    • @alswp0404
      @alswp0404 4 місяці тому

      My brother was lefty, and he had a hard time writing towards the right side in early ages. So for example, he was to write 100 with left hand he ended up with 001 written in backwards so maybe it's doable for lefties

    • @injSpasov
      @injSpasov 4 місяці тому

      😂

  • @siraz6899
    @siraz6899 Рік тому +10

    These tutorials series are really good

  • @bob_bobsen
    @bob_bobsen 6 місяців тому +2

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

  • @Gutenmorgenside
    @Gutenmorgenside Рік тому +9

    The master brewer doing his day job.

  • @michaelcharlesthearchangel
    @michaelcharlesthearchangel Рік тому +33

    One of the best examples to use when thinking of VMs in comparison to a Docker is: Non-executable Vs Executable, UA-cam in Chrome browser Vs UA-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 Рік тому

      ​@@hedgefundsrusyep tbh thats what I also feel

  • @Flankymanga
    @Flankymanga Рік тому +17

    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.

  • @dikieaditya1321
    @dikieaditya1321 Рік тому +31

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

    • @p33yush
      @p33yush Рік тому +1

      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 Рік тому +9

      This is how Docker works in Mac/Windows.

    • @foodie3140
      @foodie3140 Рік тому +1

      Yes you can

    • @magicball60
      @magicball60 Рік тому +3

      It’s actually a common practice

    • @schmud143
      @schmud143 Рік тому

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

  • @MinorMood
    @MinorMood Рік тому +4

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

  • @tjwreds1
    @tjwreds1 5 місяців тому +2

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

  • @alanjrobertson
    @alanjrobertson Рік тому +6

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

  • @Shadab-px2vn
    @Shadab-px2vn 9 місяців тому +1

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

  • @veritasliberabitvos454
    @veritasliberabitvos454 Рік тому +4

    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.

  • @jaffarbh
    @jaffarbh Рік тому +4

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

  • @citizen303
    @citizen303 3 місяці тому

    Very clear explanation. I particularly appreciate the example use cases.

  • @randomdaysy
    @randomdaysy Рік тому +51

    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 Рік тому

      I am not dreaming. This guy does everything

  • @derekmcwilliams5821
    @derekmcwilliams5821 Місяць тому

    This guy has great home brewing videos.

  • @rikoari
    @rikoari Рік тому +3

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

  • @Bultizar
    @Bultizar Рік тому +3

    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

  • @bizmarinainfo1808
    @bizmarinainfo1808 Рік тому +6

    Neat and sweet. Thank you for the easy explanation.

  • @tannerkinsey
    @tannerkinsey 9 місяців тому +1

    Far from homebrew… great lecture!

  • @larryryba4497
    @larryryba4497 Рік тому +3

    Can we get recipe videos for Dockerbock and Hypervizen?

  • @MarcoGuardigli00
    @MarcoGuardigli00 Рік тому +3

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

  • @CarlosGonzalez-hy8in
    @CarlosGonzalez-hy8in 7 місяців тому +6

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

    • @sinasnp5271
      @sinasnp5271 4 місяці тому +2

      I think he writes like normal, then they mirror the video. You see he's writing with his left hand. Its just a guess tho

    • @ericasiedu328
      @ericasiedu328 2 місяці тому

      He wrote normally on a glass and flipped the video on x axis

  • @vultureTX001
    @vultureTX001 Рік тому +3

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

  • @Z9036
    @Z9036 Рік тому +8

    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 Рік тому +9

      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 ?

  • @thegreatestadvice88
    @thegreatestadvice88 Рік тому +1

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

  • @Hiram8866
    @Hiram8866 Рік тому +9

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

  • @Spudgun81
    @Spudgun81 Рік тому +2

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

  • @harshulrohilla1868
    @harshulrohilla1868 10 місяців тому

    GREAT LECTURE THANX TONI KROOS😊

  • @openroomxyz
    @openroomxyz Місяць тому

    Thanks for creating this video

  • @ok24140
    @ok24140 Рік тому +1

    How did you learn to write mirror inversed?

  • @zeus783
    @zeus783 6 місяців тому

    Nice explanation! Thanks

  • @kerry7932
    @kerry7932 26 днів тому

    Which one allows you to emulate writing backwards on a plane of glass?

  • @srikantht2403
    @srikantht2403 Місяць тому

    Awesome explaination

  • @fajarsumiratbinmuhrip3426
    @fajarsumiratbinmuhrip3426 7 місяців тому

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

  • @Romahotmetytky
    @Romahotmetytky 6 місяців тому

    why on all those tutorials nobody mentions that one of the biggest difference is is that on docker there is no bloody UI for the Os. That is huge difference for someone that only knows vm.

  • @severtone263
    @severtone263 11 місяців тому

    Great informative explanation. Thank you

  • @mukunds3144
    @mukunds3144 Рік тому

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

  • @ErikS-
    @ErikS- Рік тому +1

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

  • @jeremyfinger843
    @jeremyfinger843 Рік тому

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

  • @santanuhajra6485
    @santanuhajra6485 Рік тому

    Fantastic explanation sir !!!

  • @TinnyHidge
    @TinnyHidge Рік тому +1

    Great explanation. Cheers! 👍

  • @velo1337
    @velo1337 Рік тому +1

    VM is also nice if you need a GUI

  • @antoinemasselot5429
    @antoinemasselot5429 Рік тому

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

  • @Krishnan172
    @Krishnan172 3 місяці тому

    How are you writing in reverse such that its appears straight text for us? or are you just writing name sake & rest is managed by VFX, CGI, editing, etc.

  • @TheCallumhutchy
    @TheCallumhutchy Рік тому +2

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

  • @FuzzerHash
    @FuzzerHash Рік тому +1

    Excelente explanation, that's so clear.

  • @dallasphillips91
    @dallasphillips91 Рік тому +2

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

  • @VioletClaw816
    @VioletClaw816 6 місяців тому

    I still don't understand how docker image provides an os environment for applications to run without a real os image. Does the docker image have specific os?(Ubuntu, windows, etc ..) If it is, how does it run the os without actually having an os downloaded? I might be misunderstanding sth here.

  • @JorgetePanete
    @JorgetePanete Рік тому

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

    • @GaryL3803
      @GaryL3803 Рік тому

      Use close captioning (CC).

  • @hpandeymail
    @hpandeymail Рік тому

    Wow .. great lecture 🙏👏

  • @MrEndzo
    @MrEndzo Рік тому +2

    I have docker running on a VM.

  • @hugofullante3758
    @hugofullante3758 Рік тому

    Thank you for clear explanation

  • @csanvi
    @csanvi Рік тому

    Thank you Martin.

  • @aouss.altwaijry
    @aouss.altwaijry Рік тому +1

    Great material.

  • @ViralTrendDance
    @ViralTrendDance 3 місяці тому

    ❤ HI, wanted to know what's the best Cloud service if I want to install games and VIDEO editing software like Adobe ot caput..... want to be able to video editing large files with GPU, which site do you recommend?

  • @franklemanschik_de
    @franklemanschik_de Рік тому +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

  • @jrdn5206
    @jrdn5206 Рік тому +2

    This isn’t about brewing beer…..

  • @sherrilltechnology
    @sherrilltechnology 5 місяців тому

    Very good video!!

  • @GoatZilla
    @GoatZilla Рік тому

    Is this docking?

  • @jaxxonbalboa3243
    @jaxxonbalboa3243 Рік тому

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

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

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

  • @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 Рік тому

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

  • @MegaStamandster
    @MegaStamandster Рік тому

    Used to this guy talking about brewing beer :)

  • @ogawasanjuro
    @ogawasanjuro Рік тому

    How is he writing backwards?

  • @Mark_Wood
    @Mark_Wood Рік тому

    shouldn't you be brewing?

  • @BringMe_Back
    @BringMe_Back Рік тому +1

    thanks a lot 👍😊

  • @markc6714
    @markc6714 Рік тому

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

  • @simeonovs4443
    @simeonovs4443 Рік тому

    Great video

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

  • @joshuadadula-fy5kn
    @joshuadadula-fy5kn 9 місяців тому

    Try video explaining things vs ai explaining things

  • @АльбертКондуров
    @АльбертКондуров 3 місяці тому

    921 Hope Street

  • @ShivaTD420
    @ShivaTD420 Рік тому

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

  • @HenleyNydia
    @HenleyNydia 3 місяці тому

    7412 Collins Canyon

  • @singlecell10
    @singlecell10 18 днів тому

    tony kross from IBM :D

  • @ggre55
    @ggre55 5 місяців тому

    Well docker is everywhere now
    Web hosting plaatforms ussed to run vmms now uses containers samme for cloud machines
    And eveerything else

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

  • @adrianchatto1
    @adrianchatto1 6 місяців тому

    Wait. Aren't you the beer guy??

  • @jamescapparell5673
    @jamescapparell5673 Рік тому +1

    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.

  • @FuncleChuck
    @FuncleChuck 6 місяців тому

    I'm gonna wager you're not left handed, and that you're flipped? Otherwise this is WILD.

  • @akashsivasubramanian4067
    @akashsivasubramanian4067 Рік тому

    on time.😀😀

  • @joh551
    @joh551 Рік тому

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

  • @MelanieMills-c1v
    @MelanieMills-c1v 4 місяці тому

    Anderson Brian Taylor Christopher Garcia Kenneth

  • @sengs.4838
    @sengs.4838 Рік тому

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

  • @tyrojames9937
    @tyrojames9937 Рік тому

    COOL. THEY ARE ADVERSARIES❗😁😁

  • @SapirAfra
    @SapirAfra 3 місяці тому

    Harris Mark Davis Jessica Lopez Matthew

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

  • @PaulineSantiago-j4j
    @PaulineSantiago-j4j 3 місяці тому

    Malinda Fork

  • @christopherpetersen342
    @christopherpetersen342 Рік тому

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

  • @HuttCornelia-m1v
    @HuttCornelia-m1v 4 місяці тому

    Thompson Thomas Martinez Sandra White Scott

  • @YuleTaylor-l8g
    @YuleTaylor-l8g 3 місяці тому

    Garcia Charles Jackson Elizabeth Martin Ruth

  • @WoolfCherry-v1w
    @WoolfCherry-v1w 2 місяці тому

    Camilla Harbors

  • @JacksonBandons-r2o
    @JacksonBandons-r2o 4 місяці тому

    Jones Ruth Brown Kimberly Robinson Thomas