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.
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
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.
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
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....
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.
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
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.
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.
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.
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.
❤ 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?
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
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.
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
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.
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.
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...
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? 😂
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
😂
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
The master brewer doing his day job.
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
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.
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
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....
my adhd got distracted that this dude is writing (or seems to be writing), backwards right to left. kudos on that.
Great video, any chance of a behind the scenes as to how you create it? Love the glowing writing.
these IBM videos are so easy to process. Please create a learning platform too @IBM
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.
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 ;-)
Very clear explanation. I particularly appreciate the example use cases.
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
This guy has great home brewing videos.
Did you flip/mirror the video in the post?
Curious on how this writing being done.
See ibm.biz/write-backwards
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
Neat and sweet. Thank you for the easy explanation.
Far from homebrew… great lecture!
Can we get recipe videos for Dockerbock and Hypervizen?
Please Tell me about your transparent blackboard technology and camera you use so efficiently! Thank you!
Search on "lightboard videos"
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
VM-- because sometimes you will deploy the finished app to actual hardware after perfecting the prototype in VMs.
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 ?
Thank you for this. I am coming from finance and trying to familiarize myself with technology.
Very interesting and informative. I had wondered what the difference was.
Great video. I'd like some videos on telecoms/network concepts.
GREAT LECTURE THANX TONI KROOS😊
Thanks for creating this video
How did you learn to write mirror inversed?
See ibm.biz/write-backwards
Nice explanation! Thanks
Which one allows you to emulate writing backwards on a plane of glass?
Awesome explaination
Which one does the AWS cloud services use, VMs or Dockers...?
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.
Great informative explanation. Thank you
We can run diverse OS in containers also, right? Please correct if I am wrong.
I watched several videos on "VM vs containers".
And practically each video explains it differently, which shows/causes confusion.
What does he use to do the writing that shows on the video?? Hardware and software???
See ibm.biz/write-backwards
Fantastic explanation sir !!!
Great explanation. Cheers! 👍
VM is also nice if you need a GUI
Damn, scrolling UA-cam and encountering the beer guy on a VM vs Docker video!! 😂
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.
Very confused when i saw the homebrew guy on an IBM thumbnail 😅
Excelente explanation, that's so clear.
This dude makes beer in England, what in the world is he doing here!?!?! @TheHomebrewChallenge
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.
Can you transform what you write into a standard, readable font?
Use close captioning (CC).
Wow .. great lecture 🙏👏
I have docker running on a VM.
Thank you for clear explanation
Thank you Martin.
Great material.
❤ 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?
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
This isn’t about brewing beer…..
Very good video!!
Is this docking?
Why doesn't Win 11 run Oracle's 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.
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
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...
Used to this guy talking about brewing beer :)
How is he writing backwards?
See ibm.biz/write-backwards
shouldn't you be brewing?
thanks a lot 👍😊
Mum taught me about number 1s and number 2s. I can only assume number 3s is both at once 😮😅😊
Great video
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.
Try video explaining things vs ai explaining things
921 Hope Street
Are you actually writting backwards or is there a clever trick happening here
7412 Collins Canyon
tony kross from IBM :D
Well docker is everywhere now
Web hosting plaatforms ussed to run vmms now uses containers samme for cloud machines
And eveerything else
The problem is Windows as a totally unreliable platform, Linux with VM is the way we go.
VMs are SO MUCH EASIER
Wait. Aren't you the beer guy??
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.
I'm gonna wager you're not left handed, and that you're flipped? Otherwise this is WILD.
on time.😀😀
What kind of magic is used for the writing during presentation, or does everyone but me know how to write backwards? LOL
See ibm.biz/write-backwards
Anderson Brian Taylor Christopher Garcia Kenneth
Is this guy seriously write letters in reverse direction like in a mirror ? How ? 😮
See ibm.biz/write-backwards
COOL. THEY ARE ADVERSARIES❗😁😁
Harris Mark Davis Jessica Lopez Matthew
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.
Malinda Fork
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...
Thompson Thomas Martinez Sandra White Scott
Garcia Charles Jackson Elizabeth Martin Ruth
Camilla Harbors
Jones Ruth Brown Kimberly Robinson Thomas