Virtual Machine (VM) vs Docker

  Рет қаралды 169,817

IBM Technology

IBM Technology

Жыл бұрын

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

Пікірлер: 117
@summatim
@summatim Жыл бұрын
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 Жыл бұрын
This video is technical enough to inform while also being approachable. Very well done, thank you so much!
@WarpRulez
@WarpRulez Жыл бұрын
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.
@joeycrysel9333
@joeycrysel9333 Жыл бұрын
Which is when you run Docker in a VM or LXC.
@fabiandrinksmilk6205
@fabiandrinksmilk6205 11 ай бұрын
This is where Podman comes into play.
@markc6714
@markc6714 11 ай бұрын
​@@joeycrysel9333 which is when you look for a product for grown ups and not id1ots
@siraz6899
@siraz6899 Жыл бұрын
These tutorials series are really good
@neail5466
@neail5466 Жыл бұрын
Probably the most complete and concise version in this topic from IBM.❤
@user-nw2ls5xq9k
@user-nw2ls5xq9k 3 күн бұрын
Motherboard Intelligence? 😂
@dikieaditya1321
@dikieaditya1321 Жыл бұрын
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 Жыл бұрын
This is how Docker works in Mac/Windows.
@foodie3140
@foodie3140 Жыл бұрын
Yes you can
@magicball60
@magicball60 Жыл бұрын
It’s actually a common practice
@schmud143
@schmud143 Жыл бұрын
this is a very typical use case from independent learning, researchers, to enterprise environments
@Flankymanga
@Flankymanga Жыл бұрын
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.
@michaelcharlesthearchangel
@michaelcharlesthearchangel Жыл бұрын
One of the best examples to use when thinking of VMs in comparison to a Docker is: Non-executable Vs Executable, KZbin in Chrome browser Vs KZbin App.
@hedgefundsrus
@hedgefundsrus 11 ай бұрын
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
@bizmarinainfo1808
@bizmarinainfo1808 Жыл бұрын
Neat and sweet. Thank you for the easy explanation.
@alanjrobertson
@alanjrobertson Жыл бұрын
Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.
@FuzzerHash
@FuzzerHash Жыл бұрын
Excelente explanation, that's so clear.
@hugofullante3758
@hugofullante3758 Жыл бұрын
Thank you for clear explanation
@veritasliberabitvos454
@veritasliberabitvos454 Жыл бұрын
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.
@thegreatestadvice88
@thegreatestadvice88 Жыл бұрын
Thank you for this. I am coming from finance and trying to familiarize myself with technology.
@severtone263
@severtone263 3 ай бұрын
Great informative explanation. Thank you
@Spudgun81
@Spudgun81 Жыл бұрын
Great video. I'd like some videos on telecoms/network concepts.
@TinnyHidge
@TinnyHidge Жыл бұрын
Great explanation. Cheers! 👍
@santanuhajra6485
@santanuhajra6485 Жыл бұрын
Fantastic explanation sir !!!
@redo22
@redo22 Жыл бұрын
thanks a lot for these incredible good videos!
@Shadab-px2vn
@Shadab-px2vn 26 күн бұрын
these IBM videos are so easy to process. Please create a learning platform too @IBM
@harshulrohilla1868
@harshulrohilla1868 2 ай бұрын
GREAT LECTURE THANX TONI KROOS😊
@Hiram8866
@Hiram8866 Жыл бұрын
Very interesting and informative. I had wondered what the difference was.
@hpandeymail
@hpandeymail Жыл бұрын
Wow .. great lecture 🙏👏
@Z9036
@Z9036 Жыл бұрын
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 Жыл бұрын
My guess is they flip the whole video horizontally
@patrick1038
@patrick1038 Жыл бұрын
lmao why all that trouble? Why not just flip the video before posting it ?
@tannerkinsey
@tannerkinsey Ай бұрын
Far from homebrew… great lecture!
@csanvi
@csanvi 10 ай бұрын
Thank you Martin.
@aouss.altwaijry
@aouss.altwaijry Жыл бұрын
Great material.
@larryryba4497
@larryryba4497 Жыл бұрын
Can we get recipe videos for Dockerbock and Hypervizen?
@jaffarbh
@jaffarbh Жыл бұрын
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 ;-)
@Gutenmorgenside
@Gutenmorgenside Жыл бұрын
The master brewer doing his day job.
@BringMe_Back
@BringMe_Back Жыл бұрын
thanks a lot 👍😊
@Bultizar
@Bultizar Жыл бұрын
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 11 ай бұрын
VM-- because sometimes you will deploy the finished app to actual hardware after perfecting the prototype in VMs.
@MarcoGuardigli00
@MarcoGuardigli00 Жыл бұрын
Please Tell me about your transparent blackboard technology and camera you use so efficiently! Thank you!
@IBMTechnology
@IBMTechnology Жыл бұрын
Search on "lightboard videos"
@mukunds3144
@mukunds3144 6 ай бұрын
We can run diverse OS in containers also, right? Please correct if I am wrong.
@rikoari
@rikoari Жыл бұрын
Did you flip/mirror the video in the post? Curious on how this writing being done.
@IBMTechnology
@IBMTechnology 11 ай бұрын
See ibm.biz/write-backwards
@randomdaysy
@randomdaysy Жыл бұрын
Any other home brewers just have their mind blown?
@davidf760
@davidf760 Жыл бұрын
I'm so confused 😂
@MegaStamandster
@MegaStamandster Жыл бұрын
I'm like "When are we going to start talking about brewing?"
@gabrieltruong9052
@gabrieltruong9052 9 ай бұрын
I am not dreaming. This guy does everything
@MinorMood
@MinorMood 11 ай бұрын
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....
@Duniel88
@Duniel88 Жыл бұрын
Docker emulates OS VM emulates HW
@franklemanschik4862
@franklemanschik4862 Жыл бұрын
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
@simeonovs4443
@simeonovs4443 Жыл бұрын
Great video
@velo1337
@velo1337 Жыл бұрын
VM is also nice if you need a GUI
@jeremyfinger843
@jeremyfinger843 11 ай бұрын
What does he use to do the writing that shows on the video?? Hardware and software???
@IBMTechnology
@IBMTechnology 11 ай бұрын
See ibm.biz/write-backwards
@TheCallumhutchy
@TheCallumhutchy Жыл бұрын
Very confused when i saw the homebrew guy on an IBM thumbnail 😅
@akashsivasubramanian4067
@akashsivasubramanian4067 Жыл бұрын
on time.😀😀
@MegaStamandster
@MegaStamandster Жыл бұрын
Used to this guy talking about brewing beer :)
@ok24140
@ok24140 Жыл бұрын
How did you learn to write mirror inversed?
@IBMTechnology
@IBMTechnology 11 ай бұрын
See ibm.biz/write-backwards
@JorgetePanete
@JorgetePanete Жыл бұрын
Can you transform what you write into a standard, readable font?
@GaryL3803
@GaryL3803 Жыл бұрын
Use close captioning (CC).
@ErikS-
@ErikS- 10 ай бұрын
I watched several videos on "VM vs containers". And practically each video explains it differently, which shows/causes confusion.
@markc6714
@markc6714 11 ай бұрын
Mum taught me about number 1s and number 2s. I can only assume number 3s is both at once 😮😅😊
@antoinemasselot5429
@antoinemasselot5429 11 ай бұрын
Damn, scrolling KZbin and encountering the beer guy on a VM vs Docker video!! 😂
@FrancescoVarrato
@FrancescoVarrato Жыл бұрын
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 Жыл бұрын
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 11 ай бұрын
See ibm.biz/write-backwards
@canozmen
@canozmen 11 ай бұрын
@@IBMTechnology hahah
@yourmamaisphat
@yourmamaisphat 11 ай бұрын
@@IBMTechnology Wow, that's a great breakdown video! Also, had me fooled! haha.
@MrEndzo
@MrEndzo Жыл бұрын
I have docker running on a VM.
@severalpens
@severalpens 11 ай бұрын
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.
@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
@GoatZilla
@GoatZilla 11 ай бұрын
Is this docking?
@BrooksOSteen
@BrooksOSteen 4 ай бұрын
HOW IS HE WRITING BACKWARDS?
@jrdn5206
@jrdn5206 Жыл бұрын
This isn’t about brewing beer…..
@dallasphillips91
@dallasphillips91 Жыл бұрын
This dude makes beer in England, what in the world is he doing here!?!?! @TheHomebrewChallenge
@saadfazelpour5385
@saadfazelpour5385 Жыл бұрын
he gave a lot of information but he didn't explain the most important questions.
@raff1584
@raff1584 Жыл бұрын
the most important question is how did he write backwards
@ChristianWaagaard
@ChristianWaagaard 8 ай бұрын
​@@raff1584miror/flip video in edit...
@Mark_Wood
@Mark_Wood Жыл бұрын
shouldn't you be brewing?
@joshuadadula-fy5kn
@joshuadadula-fy5kn Ай бұрын
Try video explaining things vs ai explaining things
@JeremyRefoia
@JeremyRefoia Жыл бұрын
cool
@tyrojames9937
@tyrojames9937 Жыл бұрын
COOL. THEY ARE ADVERSARIES❗😁😁
@ogawasanjuro
@ogawasanjuro Жыл бұрын
How is he writing backwards?
@IBMTechnology
@IBMTechnology 11 ай бұрын
See ibm.biz/write-backwards
@kklowd
@kklowd Жыл бұрын
This guy is so handsome
@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.
@vapourmile
@vapourmile 11 ай бұрын
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 25 күн бұрын
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.
@joh551
@joh551 6 ай бұрын
What kind of magic is used for the writing during presentation, or does everyone but me know how to write backwards? LOL
@IBMTechnology
@IBMTechnology 6 ай бұрын
See ibm.biz/write-backwards
@ShivaTD420
@ShivaTD420 Жыл бұрын
Are you actually writting backwards or is there a clever trick happening here
@alib5503
@alib5503 Жыл бұрын
What exact accent is this?
@AFuller2020
@AFuller2020 11 ай бұрын
The problem is Windows as a totally unreliable platform, Linux with VM is the way we go.
@lewiskelly14
@lewiskelly14 Жыл бұрын
VMs are SO MUCH EASIER
@cfwin1776
@cfwin1776 Жыл бұрын
Apple vs orange 😂
@oiraqih
@oiraqih Жыл бұрын
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 ? 😮
@IBMTechnology
@IBMTechnology 11 ай бұрын
See ibm.biz/write-backwards
@christopherpetersen342
@christopherpetersen342 9 ай бұрын
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 Жыл бұрын
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 6 ай бұрын
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 Жыл бұрын
Rule of thumb: VM always works, Docker is a pain in the a
@iAPX432
@iAPX432 11 ай бұрын
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!
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 374 М.
What is a Container?
18:24
VMware Cloud Native Apps
Рет қаралды 661 М.
ТОМАТНЫЙ ДОЖДЬ #shorts
00:28
Паша Осадчий
Рет қаралды 12 МЛН
SMART GADGET FOR COOL PARENTS ☔️
00:30
123 GO! HOUSE
Рет қаралды 21 МЛН
ONE MORE SUBSCRIBER FOR 4 MILLION!
00:28
Horror Skunx
Рет қаралды 57 МЛН
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,3 МЛН
Containers vs VMs: What's the difference?
8:08
IBM Technology
Рет қаралды 731 М.
Virtual Machines vs Containers
8:57
PowerCert Animated Videos
Рет қаралды 791 М.
Kubernetes vs. Docker: It's Not an Either/Or Question
8:04
IBM Technology
Рет қаралды 1 МЛН
Docker Basics in 162 Seconds
2:43
DevOpsCycle
Рет қаралды 1,2 М.
Container vs Virtual Machines (Why use Docker?)
6:39
Kodaps Academy
Рет қаралды 2,4 М.
Containerization Explained
8:09
IBM Technology
Рет қаралды 684 М.
Podman vs. Docker
6:33
IBM Technology
Рет қаралды 59 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 715 М.
ТОМАТНЫЙ ДОЖДЬ #shorts
00:28
Паша Осадчий
Рет қаралды 12 МЛН