Virtual Machine (VM) vs Docker

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 159

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

  • @Duniel88
    @Duniel88 Год назад +10

    Docker emulates OS VM emulates HW

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

  • @BrooksOSteen
    @BrooksOSteen Год назад +34

    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 3 месяца назад

      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 3 месяца назад

      😂

  • @neail5466
    @neail5466 Год назад +8

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

    • @AlyssaK-z2d
      @AlyssaK-z2d 7 месяцев назад

      Motherboard Intelligence? 😂

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

  • @michaelcharlesthearchangel
    @michaelcharlesthearchangel Год назад +33

    One of the best examples to use when thinking of VMs in comparison to a Docker is: Non-executable Vs Executable, RUclips in Chrome browser Vs RUclips 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

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

  • @Gutenmorgenside
    @Gutenmorgenside Год назад +9

    The master brewer doing his day job.

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

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

  • @Shadab-px2vn
    @Shadab-px2vn 8 месяцев назад +1

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

  • @citizen303
    @citizen303 2 месяца назад

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

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

  • @derekmcwilliams5821
    @derekmcwilliams5821 Месяц назад

    This guy has great home brewing videos.

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

  • @bizmarinainfo1808
    @bizmarinainfo1808 Год назад +6

    Neat and sweet. Thank you for the easy explanation.

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

  • @alanjrobertson
    @alanjrobertson Год назад +6

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

  • @thegreatestadvice88
    @thegreatestadvice88 Год назад +1

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

  • @tannerkinsey
    @tannerkinsey 9 месяцев назад +1

    Far from homebrew… great lecture!

  • @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 Месяц назад

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

  • @Hiram8866
    @Hiram8866 Год назад +9

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

  • @rikoari
    @rikoari Год назад +3

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

  • @MarcoGuardigli00
    @MarcoGuardigli00 Год назад +3

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

  • @harshulrohilla1868
    @harshulrohilla1868 10 месяцев назад

    GREAT LECTURE THANX TONI KROOS😊

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

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

  • @larryryba4497
    @larryryba4497 Год назад +3

    Can we get recipe videos for Dockerbock and Hypervizen?

  • @vultureTX001
    @vultureTX001 Год назад +3

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

  • @openroomxyz
    @openroomxyz Месяц назад

    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 ?

  • @Spudgun81
    @Spudgun81 Год назад +2

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

  • @TinnyHidge
    @TinnyHidge Год назад +1

    Great explanation. Cheers! 👍

  • @srikantht2403
    @srikantht2403 Месяц назад

    Awesome explaination

  • @zeus783
    @zeus783 6 месяцев назад

    Nice explanation! Thanks

  • @severtone263
    @severtone263 11 месяцев назад

    Great informative explanation. Thank you

  • @FuzzerHash
    @FuzzerHash Год назад +1

    Excelente explanation, that's so clear.

  • @hpandeymail
    @hpandeymail Год назад

    Wow .. great lecture 🙏👏

  • @santanuhajra6485
    @santanuhajra6485 Год назад

    Fantastic explanation sir !!!

  • @hugofullante3758
    @hugofullante3758 Год назад

    Thank you for clear explanation

  • @kerry7932
    @kerry7932 18 дней назад

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

  • @TheCallumhutchy
    @TheCallumhutchy Год назад +2

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

  • @ok24140
    @ok24140 Год назад +1

    How did you learn to write mirror inversed?

  • @fajarsumiratbinmuhrip3426
    @fajarsumiratbinmuhrip3426 7 месяцев назад

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

  • @aouss.altwaijry
    @aouss.altwaijry Год назад +1

    Great material.

  • @BringMe_Back
    @BringMe_Back Год назад +1

    thanks a lot 👍😊

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

  • @antoinemasselot5429
    @antoinemasselot5429 Год назад

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

  • @ViralTrendDance
    @ViralTrendDance 2 месяца назад

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

  • @csanvi
    @csanvi Год назад

    Thank you Martin.

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

  • @jeremyfinger843
    @jeremyfinger843 Год назад

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

  • @sherrilltechnology
    @sherrilltechnology 5 месяцев назад

    Very good video!!

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

  • @dallasphillips91
    @dallasphillips91 Год назад +2

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

  • @JorgetePanete
    @JorgetePanete Год назад

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

    • @GaryL3803
      @GaryL3803 Год назад

      Use close captioning (CC).

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

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

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

  • @velo1337
    @velo1337 Год назад +1

    VM is also nice if you need a GUI

  • @markc6714
    @markc6714 Год назад

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

  • @jaxxonbalboa3243
    @jaxxonbalboa3243 Год назад

    Why doesn't Win 11 run Oracle's 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

  • @MegaStamandster
    @MegaStamandster Год назад

    Used to this guy talking about brewing beer :)

  • @simeonovs4443
    @simeonovs4443 Год назад

    Great video

  • @GoatZilla
    @GoatZilla Год назад

    Is this docking?

  • @MrEndzo
    @MrEndzo Год назад +2

    I have docker running on a VM.

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

  • @ogawasanjuro
    @ogawasanjuro Год назад

    How is he writing backwards?

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

  • @Mark_Wood
    @Mark_Wood Год назад

    shouldn't you be brewing?

  • @jrdn5206
    @jrdn5206 Год назад +2

    This isn’t about brewing beer…..

  • @akashsivasubramanian4067
    @akashsivasubramanian4067 Год назад

    on time.😀😀

  • @tyrojames9937
    @tyrojames9937 Год назад

    COOL. THEY ARE ADVERSARIES❗😁😁

  • @singlecell10
    @singlecell10 9 дней назад

    tony kross from IBM :D

  • @ggre55
    @ggre55 4 месяца назад

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

  • @joshuadadula-fy5kn
    @joshuadadula-fy5kn 8 месяцев назад

    Try video explaining things vs ai explaining things

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

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

    921 Hope Street

  • @ShivaTD420
    @ShivaTD420 Год назад

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

  • @MelanieMills-c1v
    @MelanieMills-c1v 4 месяца назад

    Anderson Brian Taylor Christopher Garcia Kenneth

  • @HenleyNydia
    @HenleyNydia 3 месяца назад

    7412 Collins Canyon

  • @joh551
    @joh551 Год назад

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

  • @SapirAfra
    @SapirAfra 3 месяца назад

    Harris Mark Davis Jessica Lopez Matthew

  • @YuleTaylor-l8g
    @YuleTaylor-l8g 3 месяца назад

    Garcia Charles Jackson Elizabeth Martin Ruth

  • @JacksonBandons-r2o
    @JacksonBandons-r2o 4 месяца назад

    Jones Ruth Brown Kimberly Robinson Thomas

  • @lewiskelly14
    @lewiskelly14 Год назад

    VMs are SO MUCH EASIER

  • @AFuller2020
    @AFuller2020 Год назад

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

  • @adrianchatto1
    @adrianchatto1 5 месяцев назад

    Wait. Aren't you the beer guy??

  • @HuttCornelia-m1v
    @HuttCornelia-m1v 3 месяца назад

    Thompson Thomas Martinez Sandra White Scott

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

  • @FuncleChuck
    @FuncleChuck 6 месяцев назад

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

  • @RussellCara-o3l
    @RussellCara-o3l 3 месяца назад

    Evelyn Oval

  • @kklowd
    @kklowd Год назад

    This guy is so handsome

  • @WoolfCherry-v1w
    @WoolfCherry-v1w 2 месяца назад

    Camilla Harbors

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