Virtual Machine (VM) vs Docker

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 157

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

    Docker emulates OS VM emulates HW

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

    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 6 місяців тому

      Motherboard Intelligence? 😂

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

    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

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

    These tutorials series are really good

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

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

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

  • @BrooksOSteen
    @BrooksOSteen 11 місяців тому +30

    HOW IS HE WRITING BACKWARDS?

    • @Halfdome05
      @Halfdome05 4 місяці тому +12

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

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

      @@Halfdome05 lol people are so funny

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

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

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

      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 2 місяці тому

      😂

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

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

    The master brewer doing his day job.

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

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

      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

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

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

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

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

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

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

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

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

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

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

    Neat and sweet. Thank you for the easy explanation.

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

    Can we get recipe videos for Dockerbock and Hypervizen?

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

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

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

    Far from homebrew… great lecture!

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

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

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

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

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

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

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

    This guy has great home brewing videos.

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

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

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

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

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

  • @openroomxyz
    @openroomxyz 13 днів тому

    Thanks for creating this video

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

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

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

    • @sinasnp5271
      @sinasnp5271 3 місяці тому +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 24 дні тому

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

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

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

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

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

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

    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.

  • @srikantht2403
    @srikantht2403 8 днів тому

    Awesome explaination

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

    GREAT LECTURE THANX TONI KROOS😊

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

    Excelente explanation, that's so clear.

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

    Great informative explanation. Thank you

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

    Great explanation. Cheers! 👍

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

    ❤ 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?

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

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

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

    How did you learn to write mirror inversed?

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

    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.

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

    Nice explanation! Thanks

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

    Fantastic explanation sir !!!

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

    Thank you Martin.

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

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

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

    Great material.

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

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

    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.

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

    Thank you for clear explanation

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

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

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

    Very good video!!

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

    Wow .. great lecture 🙏👏

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

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

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

    Is this docking?

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

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

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

    VM is also nice if you need a GUI

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

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

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

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

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

      Use close captioning (CC).

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

    Great video

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

    I have docker running on a 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

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

    thanks a lot 👍😊

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

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

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

    shouldn't you be brewing?

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

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

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

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

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

    Used to this guy talking about brewing beer :)

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

    This isn’t about brewing beer…..

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

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

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

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

    How is he writing backwards?

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

    Anderson Brian Taylor Christopher Garcia Kenneth

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

    921 Hope Street

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

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

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

    on time.😀😀

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

    Try video explaining things vs ai explaining things

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

    VMs are SO MUCH EASIER

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

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

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

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

    Garcia Charles Jackson Elizabeth Martin Ruth

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

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

    Harris Mark Davis Jessica Lopez Matthew

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

    COOL. THEY ARE ADVERSARIES❗😁😁

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

    7412 Collins Canyon

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

    Jones Ruth Brown Kimberly Robinson Thomas

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

    Thompson Thomas Martinez Sandra White Scott

  • @RussellCara-o3l
    @RussellCara-o3l 2 місяці тому

    Evelyn Oval

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

    Camilla Harbors

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

    This guy is so handsome

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

    Malinda Fork

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

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

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

  • @BrookCara-d2i
    @BrookCara-d2i 2 місяці тому

    Robinson Deborah Moore George Lee Amy

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

    Wait. Aren't you the beer guy??

  • @LeacockFrances-s6u
    @LeacockFrances-s6u 2 місяці тому

    Williams Eric Wilson Deborah Walker Ronald