Docker vs Virtual Machines (why you NEED both)

preview_player
Показать описание
This video goes over the differences between docker containers and virtual machines, and why you should probably be using both.

Best Synology Line up*:

#docker #virtualmachine #vm

TOC
00:00 Introduction
00:35 What are virtual machines?
03:44 What is docker?
07:24 How to deploy an application on a virtual machine
08:48 How to deploy an application on docker
10:22 Where docker falls short
11:37 When to use virtual machines vs docker
18:00 Conclusion

*These are Amazon affiliate links, which means that if you purchase a product through one of them, I will receive a small commission (at no additional cost to you). Thank you for supporting my channel!
Рекомендации по теме
Комментарии
Автор

Hey man, this was a great introductory explanation of differences between docker and full VMs. You started getting into the stateful vs stateless stuff at the end, but as somebody who does work with containers in a hyperscale environment I wanted to say that our containerized workloads are almost exclusively stateless services and our stateful layer (databases) are for the most part run on their own VMs.

But you wrote this for an audience that probably won't separate their environment based on workloads like that, so your explanation and examples we're just really solid.

TheUboni
Автор

I found that if you want to run an app on Docker, and you don't have the technical skills to create a Docker image, you have to settle for the pre-built Docker images. And, those are usually not the sort of apps that most home users would run. Or, those apps are already available to run on a NAS or Windows so why bother with Docker for the most part. For example, I have a legacy Windows mapping app which is long past its support period. I have no idea how to build a Docker image with it and I bet most people watching this don't either. However, I was able to create an image of my Windows laptop which had the mapping app installed and I learned how to create a VM of it on my QNAP. I still love the technology and the learning experience but at this point, it's still a solution in search of a problem for me. Thanks so much the video though; great as always.

DavidM
Автор

Awesome, thanks for a good explanation of docker.

wtpqqcq
Автор

Thanks man…that was an awesome explanation of Docker vs VM’s really, really helped me grok it a little better. I know your a Mac guy and Windows has its weird WSL with Docker Desktop.. but I’d love to understand and see a UML deployment/component diagram with Windows to understand what’s all the abstracted parts are. Again thanks AWESOME video!

JEffigy
Автор

As a home user. I use parallels, running 2 VMs. One with Ubuntu and docker, homebridge and scrypted. Other with Home Assistant OS. I know there’s overhead but it’s too easy. Snapshot. Clone for testing purposes.

TheJoaolyraaraujo
Автор

You only show 1 of the 2 types of VMs. You can run VMs at the hardware level, these are called Type 1 Hypervisors. They do not run within a host OS. Your example shows type 2 Hypervisors that are installed within an OS (like VirtualBox).

AdrianLParker
Автор

You can Montior the Docker machines i have the Notifaction section setup so if it fails I get notified by the DSM interface and by email you missed that docker has the Notifactions on Synology you get that option when you setup Docker containers

byrd
Автор

Great video I’ve always eod weed the differences

radiospank
Автор

Off topic. Any updates on synology full encryption security?
BTW I just know now you have a forum. You should empathize more on the video beginning

TheJoaolyraaraujo
Автор

Question: is it possible to assign for container specific lan? I have 3 LAN and run on my NAS home assistant- for security reasons I want to isolate my container to separate vlan .

VictorVedmich
Автор

Nice presentation! May I suggest a video on Xen virtualization ? Tks

glennadams
Автор

My Ds1522+ is indexing a lot. I have to log and "pause to 6 hours' every time. There is a way to schedule that?

Emulives
Автор

2nd Question dear Rex, any recommendation about 2 factor authentication on Synology devices? i.e. a physical USB key, Android phone, etc., Would appreciate any input you have in this field. Thanks for your ongoing inputs! Much appreciated!

karmascotland
Автор

Hi Rex, enjoying your inputs/reviews etc., Any 'update' on NAS HDD comparisons? I saw a review from you about a year ago. Any update re: Seagate Ironwolf v Pro v Toshiba etc., I tend to avoid WD based on your feedback ;-)

karmascotland
Автор

hello sorry @SpaceRex i need help on the twingate docker video. What are the firewall Port rules?
I can't get twingate to connect if i turn on synology firewall with TCP port rules 30000-31000 and 443 as twingate website suggests.
If i disable firewall I can connect to twingate with no problem, but that is not good practice with no firewall rules on.

jtrtsay
Автор

This is the video I was looking for. Very well explained. It still leaves open a question I have however. A Virtual Machines gets RAM assigned and I understand this is fixed for that VM. However it also gets CPU assigned, but I do not understand whether this CPU is also fixed. Can you help me out here?

jonoverbeek
Автор

In my experience updating is actually a pain with Docker, maybe I'm doing something wrong? When a service runs on Linux I can just apt update && apt upgrade, and it will be kept up to date. When it's running in a Docker container it will NEVER be upgraded until you actually go and manually delete the container and deploy a new one.

VioletGiraffe