Docker vs Virtual Machines (why you NEED both)

Ғылым және технология

This video goes over the differences between docker containers and virtual machines, and why you should probably be using both.
Need an Expert? Hire Me! www.spacerex.co/hire-me/
Post on the forums: forums.spacerex.co
Best Synology Line up*:
DS923+: amzn.to/3IFQb79
DS1621+: amzn.to/3SesIge
DS1821+: amzn.to/3IhBaXr
RS1221+: amzn.to/3SiOL5I
#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!

Пікірлер: 24

  • @TheUboni
    @TheUboni Жыл бұрын

    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.

  • @CK-bu5wh

    @CK-bu5wh

    4 ай бұрын

    Can I think it as in most case, docker is always for application server (node app) but upon we need to consider data persistence / back up for data,we can’t just use docker to run a Mysql DB, we should to use VM unless we want to use docker volume to mount data to our host os

  • @user-wt7pq5qc2q
    @user-wt7pq5qc2q Жыл бұрын

    Awesome , thanks for a good explanation of docker.

  • @DavidM2002
    @DavidM2002 Жыл бұрын

    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.

  • @SpaceRexWill

    @SpaceRexWill

    Жыл бұрын

    I would absolutely agree with your first statement, for any normal user, docker is just pre built apps. But there can be a bunch of really useful apps that you may want to deploy, like next cloud, bind, or really any non custom service. But for legacy stuff, it pretty much always will work on a good old VM!

  • @JEffigy
    @JEffigy2 ай бұрын

    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!

  • @radiospank
    @radiospank Жыл бұрын

    Great video I’ve always eod weed the differences

  • @sprtwlf9314
    @sprtwlf9314 Жыл бұрын

    Great video.

  • @TheJoaolyraaraujo
    @TheJoaolyraaraujo Жыл бұрын

    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.

  • @VictorVedmich
    @VictorVedmich10 ай бұрын

    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 .

  • @jtrtsay
    @jtrtsay Жыл бұрын

    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.

  • @Emulives
    @Emulives Жыл бұрын

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

  • @jonoverbeek
    @jonoverbeek Жыл бұрын

    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?

  • @byrd203
    @byrd203 Жыл бұрын

    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

  • @karmascotland8
    @karmascotland8 Жыл бұрын

    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!

  • @glennadams7047
    @glennadams7047 Жыл бұрын

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

  • @karmascotland8
    @karmascotland8 Жыл бұрын

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

  • @TheJoaolyraaraujo
    @TheJoaolyraaraujo Жыл бұрын

    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

  • @SpaceRexWill

    @SpaceRexWill

    Жыл бұрын

    Haha I am not good at self marketing! As for full volume encryption have a video next week coming out! The fixed it!

  • @xellaz

    @xellaz

    Жыл бұрын

    I'm also waiting for more info regarding Synology's full volume encryption feature. If it's what I expect it to be, then I don't mind redo'ing everything on two of my Synology NAS'es.

  • @VioletGiraffe
    @VioletGiraffe Жыл бұрын

    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.

  • @RaduRadonys

    @RaduRadonys

    2 ай бұрын

    So you run apt update && apt upgrade on Linux and delete && redeploy on Docker. It seems pretty much the same amount of work to me. However you can automatically update all docker containers, unsupervised, using another docker container (eg. watchtower).

  • @datoura
    @datoura Жыл бұрын

    Excellent video.

Келесі