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
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.
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.
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.
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
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.
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
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 ;-)
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
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....
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.
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.
❤ 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?
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.
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
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.
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.
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.
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
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.
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.
Docker emulates OS VM emulates HW
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
This video is technical enough to inform while also being approachable. Very well done, thank you so much!
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.
Which is when you run Docker in a VM or LXC.
This is where Podman comes into play.
@@itsathejoey which is when you look for a product for grown ups and not id1ots
Probably the most complete and concise version in this topic from IBM.❤
Motherboard Intelligence? 😂
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.
I feel IBM has a Docker-bias because of their partnerships with Docker. Similar with how Microsoft OneDrive favors Adobe applications.
@@hedgefundsrusyep tbh thats what I also feel
These tutorials series are really good
More videos from Martin. Excellent tone/delivery and super intuitive explanations that went to the right level of depth
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.
HOW IS HE WRITING BACKWARDS?
Without knowing it, I would assume that the video is simply flipped.
@@Halfdome05 lol people are so funny
I believe there is a writable glass board between camera and him and we are looking through that glass
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
😂
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.
The master brewer doing his day job.
It is also possible to use VM and then run several Docker container inside that VM.
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
This is how Docker works in Mac/Windows.
Yes you can
It’s actually a common practice
this is a very typical use case from independent learning, researchers, to enterprise environments
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 ;-)
these IBM videos are so easy to process. Please create a learning platform too @IBM
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
VM-- because sometimes you will deploy the finished app to actual hardware after perfecting the prototype in VMs.
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....
Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.
Neat and sweet. Thank you for the easy explanation.
Can we get recipe videos for Dockerbock and Hypervizen?
Thank you for this. I am coming from finance and trying to familiarize myself with technology.
Far from homebrew… great lecture!
my adhd got distracted that this dude is writing (or seems to be writing), backwards right to left. kudos on that.
Please Tell me about your transparent blackboard technology and camera you use so efficiently! Thank you!
Search on "lightboard videos"
Did you flip/mirror the video in the post?
Curious on how this writing being done.
See ibm.biz/write-backwards
This guy has great home brewing videos.
Very clear explanation. I particularly appreciate the example use cases.
Very interesting and informative. I had wondered what the difference was.
Any other home brewers just have their mind blown?
I'm so confused 😂
I'm like "When are we going to start talking about brewing?"
I am not dreaming. This guy does everything
Thanks for creating this video
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.
My guess is they flip the whole video horizontally
lmao why all that trouble? Why not just flip the video before posting it ?
I couldn't pay attention to the video, because I was trying to understand how you can write backwards 😅
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
He wrote normally on a glass and flipped the video on x axis
We can run diverse OS in containers also, right? Please correct if I am wrong.
Which one does the AWS cloud services use, VMs or Dockers...?
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.
Awesome explaination
GREAT LECTURE THANX TONI KROOS😊
Excelente explanation, that's so clear.
Great informative explanation. Thank you
Great explanation. Cheers! 👍
❤ 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?
Great video. I'd like some videos on telecoms/network concepts.
How did you learn to write mirror inversed?
See ibm.biz/write-backwards
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.
Nice explanation! Thanks
Fantastic explanation sir !!!
Thank you Martin.
I watched several videos on "VM vs containers".
And practically each video explains it differently, which shows/causes confusion.
Great material.
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
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.
Thank you for clear explanation
What does he use to do the writing that shows on the video?? Hardware and software???
See ibm.biz/write-backwards
Very good video!!
Wow .. great lecture 🙏👏
Very confused when i saw the homebrew guy on an IBM thumbnail 😅
Is this docking?
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.
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.
VM is also nice if you need a GUI
Why doesn't Win 11 run Oracle's VM?
Can you transform what you write into a standard, readable font?
Use close captioning (CC).
Great video
I have docker running on a VM.
Ive installed docker recently and when I run bash script, it's significantly slower than command line.. how strange
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
thanks a lot 👍😊
This dude makes beer in England, what in the world is he doing here!?!?! @TheHomebrewChallenge
shouldn't you be brewing?
Mum taught me about number 1s and number 2s. I can only assume number 3s is both at once 😮😅😊
Damn, scrolling UA-cam and encountering the beer guy on a VM vs Docker video!! 😂
Used to this guy talking about brewing beer :)
This isn’t about brewing beer…..
Well docker is everywhere now
Web hosting plaatforms ussed to run vmms now uses containers samme for cloud machines
And eveerything else
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.
How is he writing backwards?
See ibm.biz/write-backwards
Anderson Brian Taylor Christopher Garcia Kenneth
921 Hope Street
Are you actually writting backwards or is there a clever trick happening here
on time.😀😀
Try video explaining things vs ai explaining things
VMs are SO MUCH EASIER
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.
The problem is Windows as a totally unreliable platform, Linux with VM is the way we go.
Garcia Charles Jackson Elizabeth Martin Ruth
he gave a lot of information but he didn't explain the most important questions.
the most important question is how did he write backwards
@@raff1584miror/flip video in edit...
Harris Mark Davis Jessica Lopez Matthew
COOL. THEY ARE ADVERSARIES❗😁😁
7412 Collins Canyon
Jones Ruth Brown Kimberly Robinson Thomas
Thompson Thomas Martinez Sandra White Scott
Evelyn Oval
Camilla Harbors
This guy is so handsome
Malinda Fork
I'm gonna wager you're not left handed, and that you're flipped? Otherwise this is WILD.
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.
Robinson Deborah Moore George Lee Amy
Wait. Aren't you the beer guy??
Williams Eric Wilson Deborah Walker Ronald