Virtualize vs. Containerize (Which should I choose?)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

ความคิดเห็น • 265

  • @TechnoTim
    @TechnoTim  4 ปีที่แล้ว +31

    Have you started containerizing your services? Or are you virtualizing them?
    BTW, if you're new here, welcome! Be sure to subscribe for more content like this! 🚀

    • @jumpman1823
      @jumpman1823 4 ปีที่แล้ว +2

      I containerize qbittorrent. But I realize that it uses the web UI which doesn't have several features of the desktop version. Namely, renaming folders which is a deal breaker feature for me. Cheers Tim.

    • @adimmx8928
      @adimmx8928 3 ปีที่แล้ว

      Hi, i just managed to install proxmox, had a little headake with it because it did not recognize network card, but all its solved. I did not containerized my apps, i need a sql server ,nginx with php, and a python enviroment. Right now for test purposes i install a ubuntu vm, with all my services on it. I was wondering if i can get better performance by splitting mysql in one lxc container and nginx&php in another, and python api in another. I found out that ubuntu in vm with liquorix kernel delivers bettter performance then stock kernel. Also i would like to passtrough the gpu for ML purposes and i guess for this i need a VM.

    • @barefooter2222
      @barefooter2222 3 ปีที่แล้ว

      I apologize if you've already covered this elsewhere, but I love the idea of docker, but I try to segment my network such that my virtual machines are on different VLANs for DMZ, Lab, IoT, etc. If I'm looking to convert some services over to docker, how would you set this up? I have some existing pfSense VMs that will firewall off traffic from these environments, so I'd like to have docker containers running on those VLANs such that they are separate. Hopefully this all makes sense, but some services I just wouldn't like to containerize together such as an external SFTP server and an internal Gitlab instance where I have code. How would you tackle this? Multiple Docker VMs?

    • @barefooter2222
      @barefooter2222 3 ปีที่แล้ว

      Also, loving your content so far. Just discovered you and you have some awesome videos!

    • @Dorff_Meister
      @Dorff_Meister 2 ปีที่แล้ว

      I used VMs for my services for a while, but for several years have had a vast preference for containers. Using docker-compose has made migrations to new servers or even moving just a single container so easy - I generally just need the compose stanza(s) and the data folder.

  • @whylde7834
    @whylde7834 3 ปีที่แล้ว +17

    Im a new homelab guy. And my head is spinning! I appreciate these videos very much

  • @Weirlive
    @Weirlive 4 ปีที่แล้ว +45

    You are making some of the best Docker / Container videos on TH-cam right now

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +3

      Thank you!

  • @taqveerdoha3609
    @taqveerdoha3609 4 ปีที่แล้ว +60

    Quality content! Your production levels are getting insane

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +2

      Thank you so much!

  • @JasonTaylor-po5xc
    @JasonTaylor-po5xc 2 ปีที่แล้ว +24

    The answer is really both. The ironic thing about Docker (containers) is that technically it isn't virtualization, however you often need to run Docker within a virtual machine - if you run on Windows or Mac. Even in the web (cloud), the vast majority of Docker containers are running in a virtualized Linux environment in order to share hardware resources. Yes, technically you _can_ request a dedicated host, but those cost a lot of money and you lose the dynamic nature of cloud computing (they require a time commitment). Also, not everything belongs in a container - especially stuff that requires a lot of state changes (local storage). Yes, technically you _can_ do it, but you really introducing a lot of complexity for little benefit. Finally, I've moved on from containerization as my default approach for software deployment - instead, I consider cloud-native solutions like functions as a service (e.g. AWS Lambda) before containers. You need to have a compelling reason to use containers, just like a compelling reason to use virtualization, and even more so for bare metal. They are all tools and have their place.

    • @gwojcieszczuk
      @gwojcieszczuk 6 หลายเดือนก่อน

      Containerisation is just a method of packaging and sandboxing software.

  • @davidg4512
    @davidg4512 4 ปีที่แล้ว +55

    The database docker images are so bomb. No longer do you need to install a sql front end or learn sql commands to make databases. Just add the config in the docker-compose and call it a day.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +9

      I totally should switch. Thanks for confirming!

  • @OMGTheCloud
    @OMGTheCloud 3 ปีที่แล้ว +10

    I love this topic... thanks for covering it! Containers are so much easier to manage than people often give credit for. 👍

  • @quinncasey120
    @quinncasey120 4 ปีที่แล้ว +8

    I read the 9.2k subs as 9.2M and didn't think twice. Great vid, lots to binge through now.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +3

      Thank you so much! Maybe one day. I am still new!

  • @stianberghansen
    @stianberghansen 4 ปีที่แล้ว +7

    Recently started my homelab journey with a mini-itx setup (city living is tough on space), and your videos has been a huge help. Appreciate you spreading the knowledge and that you took the time to share how you make decisions in your home lab. Super helpful!

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +2

      Glad to help! Sounds like a great little setup!

  • @ramhee98
    @ramhee98 4 ปีที่แล้ว +8

    Cool video. I mostly agree but for security reasons I'd go for Bare Metal Firewall when possible. I personally run a Dell R620 for my pfSense.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +4

      Thanks for the comment! I have a Dell R710 and love it. Curious to know why bare metal would be more secure? At the end of the day, they are running the same OS (bare metal vs. guest os)

  • @joshharding6925
    @joshharding6925 3 ปีที่แล้ว +4

    Thanks for adding the thought process with this video. I'm about to spin up a Plex server on Proxmox and pass thru the GPU for transcoding, but I'm thinking about running Plex as a container now

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Glad it helped!

  • @cryptolobo2273
    @cryptolobo2273 4 หลายเดือนก่อน

    Great discussion that is still valid to this day. Trying to make a decision right now with 4 tiny form factor nodes.

  • @NateSmithIsHere
    @NateSmithIsHere 3 ปีที่แล้ว +2

    I use containers and virtualization together is most scenarios. Mainly virtualization for the infrastructure and containers for the apps. My home lab runs Server 2019 Datacenter S2D Hyperconverged Cluster. I use docker on linux VM's and Windows VM's for the apps.

  • @whatwhat-777
    @whatwhat-777 4 ปีที่แล้ว +3

    man you really tell everything with great value and information....you deserve 1 million subscribers......love you man.....love from India

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      Thank you so much 😀

  • @calicomorgan2408
    @calicomorgan2408 10 หลายเดือนก่อน +1

    I'm looking to migrate to a rack mount lab once money permits. Right now I'm running an unRaid machine that started as a NAS but now has so many Dockers doing all my media management and even some game hosting. I'm a complete and utter novice at this stuff and it's been my only experience so far. Excited and terrified to get a more organized home lab together, and add a seedbox and VM box! Only every ran Dockers through the unRaid GUI, and haven't played with VMs at all.

  • @valve_girl
    @valve_girl 3 ปีที่แล้ว +1

    This is the best channel on TH-cam. Learned alot from you boss!

  • @randleqgod
    @randleqgod 4 ปีที่แล้ว +2

    Thank you for the Docker content. I containerized Sab, Sonarr and Radarr. No need for Mono dependencies either. The deployment with Rancher is wayyy better. Now i'm wondering what else I can do lol.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +3

      Thank you! I've got a whole list of content for containerizing :)

  • @Dorff_Meister
    @Dorff_Meister 2 ปีที่แล้ว +1

    Can I run it in a container? Run it in a container and always with docker-compose. Thanks for sharing your thought process, helpful!

  • @sanjeewasamaranayake
    @sanjeewasamaranayake 4 ปีที่แล้ว +2

    Another great video. You are clearing lot of confusion around

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว

      Glad to hear it!

  • @lentilgod58
    @lentilgod58 3 ปีที่แล้ว

    This is EXACTLY what i was looking for!! Holy moly you're awesome!

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 4 ปีที่แล้ว +2

    Really Enjoying your videos! Thanks for your effort and commitment. Great things will happen.

  • @Lunolux
    @Lunolux 2 ปีที่แล้ว

    great video, thx
    i start using VM just because i hated installing many developpement tool (visual studio, sql server, mysql, wamp, c#, net framework, python, nodejs etc) on my main computer that i dont use... when i'm not developping and dont like it, so when i hear about virtual machine, i try it and love it
    then i got a raspberry pi and install docker, and many thing become more easy, like installing database, mariadb, mysql etc it's just so easy that i can create a container just to test and delete it in the end of the day
    i hear about proxmox and it seem very interesting

  • @nyanates
    @nyanates 3 ปีที่แล้ว +1

    These virtualization vids are really helpful at explaining this stuff. I recently bought a beefy Synology NAS and, while maybe there isn’t the total flexibility that’s available in your topology, there sure is enough to apply the concepts you’re explaining here. Tnx much for these excellent vids.

  • @sylvaindecrom
    @sylvaindecrom 2 ปีที่แล้ว

    Thanks Tim, I was just wondering if it would be best to virtualize my docker server, question answered. Your container > virtual > bare metal logic makes a ton of sense IMHO

  • @groto27
    @groto27 3 ปีที่แล้ว +3

    Great video! I am going to start using Docker for the first time. My question is - what is the overhead like if you are virtualizing Docker because then you have your hardware with hypervisor with a Virtual machine on top of that with the Docker administration on top of that with the actual container on top of that?

  • @salaciouscreations4323
    @salaciouscreations4323 3 ปีที่แล้ว

    I went down the proxmox route. And built a server and thought oh I might be able to have 2 VMS. It's just used for storage or functions for the house. To my amazement the 3rd gen i7 supports vts-d immou numa aesni. And it barely sweats with
    Pfsense
    Open media vault
    Pihole
    Pia gateway
    Deluge using pia gateway
    Openvpn server
    Postgresql davinci resolve
    Mariadb
    Plex
    Airsonic
    I still got an easy 16gb left.
    All the containers mount folders in open media valut on boot so it's a self contained eco system. Even the wife is happy at how much function it's given us.
    Thank you for your videos.

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Thank you! Sound like a sweet setup!

  • @MrJosch700
    @MrJosch700 2 ปีที่แล้ว +2

    As an IT admin I would strongly disagree with a lot of choices. Docker isn't the be all and end all. Basically if it needs persistence use an VM or an LXC much better for those needs. Docker is good for some things but not for something like databases, especially if it's gonna be high available. Webservers are kind of in between. More or less down to preference. I would prefer an VM or LXC because it's much easier to change something on the fly. What I would basically always run on Docker are special Java Services for example.
    Other than that you know that proxmox can handle zfs by itself? Or other way around you can use TrueNAS to virtualize?

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว +1

      Thanks! I’ve never heard of any company using LXC in their environment 😀. Not saying there aren’t but most companies containerizing are using that or containerd with kubernetes

    • @MrJosch700
      @MrJosch700 2 ปีที่แล้ว +1

      @@TechnoTim LXCs are great. It's basically an VM but much more light weight. I would love to use it more but as it always is you are stuck with old stuff. Nowadays it makes much more sense to just setup proxmox and use that as an hypervisor than even vmware I would argue. Lots of great clusterin options an GUI for ZFS and Ceph. And I love LXC. Much more flexible than Docker.
      I would never determine a database on docker production ready for example.

  • @scottgilsdorf2938
    @scottgilsdorf2938 3 ปีที่แล้ว

    You left me with so many fun things to consider! I've chosen to start virtualization and have just virtualized my 1st kali image. I ultimately am looking to find a way to isolate a system as securely as I possibly with minimal administration! Love the channel! Scott

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Glad I could help! thank you and welcome!

    • @exitedbits
      @exitedbits ปีที่แล้ว

      Can try Kasm Workspaces

  • @dukeofearl8078
    @dukeofearl8078 ปีที่แล้ว +2

    The topic of LXC vs Docker would be interesting.

    • @akidone
      @akidone ปีที่แล้ว +1

      Second that, would love to hear your thoughts

  • @JPEO
    @JPEO ปีที่แล้ว

    Thanks for the informative notes.

  • @NinjAaaron87
    @NinjAaaron87 2 ปีที่แล้ว

    Fantastic breakdown, and great video. Thanks!

  • @jmlemmi
    @jmlemmi 4 ปีที่แล้ว +1

    I am now getting around to looking into docker. But since I have the horses to not have to worry about the performance overhead of Virtualizing, now containerizing my services seems like a lot of work for not much winning.
    Also restoring, checkpointing and moving around the VMs works right now.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +2

      use what works best for you! containers use a lot less resources and less operating systems to manage. With VMs is 1:1 and with containers it's 1:many.

  • @DJgregBrown
    @DJgregBrown ปีที่แล้ว

    I been thinking of turning my mini-micro itx size PC to a on all the time server I can watch media on as well and gain access to my file out side of home. As well as cloud services like a nextcloud instance so I can work outside of home on travels. It made it simple if it can be Containerised do it, if it run on it on kernel/OS VM it, an only baremetal if it need direct barebones hard ware. Logic I can get. I mostly going to podman for my containers. I never know you could do that with the nic for Pi hole filtering, this is something I need to look more into as great way of network monitoring as well.With sending out on a small device to run a server running such a light task.

  • @chromerims
    @chromerims 2 ปีที่แล้ว

    Jolly divine. Thank you. 👍
    Among just the things mentioned in this video, I heard that the sole bare metal item you have is Proxmox. I wonder, is that correct? Cordially yours.

  • @ejbully
    @ejbully 3 ปีที่แล้ว

    Damn. Thank you well organized source of ideas

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      Thank you!

  • @buyminers7450
    @buyminers7450 4 ปีที่แล้ว +1

    Great video, thanks for the tips!

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว

      Glad it was helpful!

  • @jeffreyplum5259
    @jeffreyplum5259 3 ปีที่แล้ว

    There is a hole in the container management on Ubuntu's Cockpit server management system. Ubuntu removed the prior container control module from Ubuntu 20.04. The podman based replacement is not ready for use. One may use the ubuntu 19.10 package, but that will have a limited support lifetime. Cockpit on 20.04 does have VM control abilities. A Cockpit ubunu VM can a container management system. Docker /Rancher, etc. Here you mix a VM with a container system because a pure container system is just not ready yet.
    Containers seem to stretch the limited thread count on older desktop/laptop systems. I find 4 real cores with no hyperthreading is the server sweet spot for my budget. SSDs and full Ram loads work around my limited thread budget. The Pi 4b 8GB version seems a nice container platform, using my techniques. I can see a Pi replaxcing some of my older systems, either directly or via emulation.

  • @ga_ty5355
    @ga_ty5355 ปีที่แล้ว

    didn't know Jonny Depp can code - what a brilliant actor!

  • @kyleleblancvlogs3820
    @kyleleblancvlogs3820 2 ปีที่แล้ว

    This helped a TON thanks

  • @igordasunddas3377
    @igordasunddas3377 2 ปีที่แล้ว

    Great! My requirement is to have a NAS that I can tinker around with, but I want a bit of storage managed and Docker for the most part. Since my server is rather slow, I won't need to ever passthrough a GPU.
    But I figured, that while I might achieve all I want using Ubuntu Server (which I am kinda the most familiar with), I could use Proxmox for VM and containers, though it's a bummer, that Proxmox only supports LXC containers out of the box, because wouldn't really want to spin up another machine just for Docker containers.
    My main issue with all that is, that if I use TrueNAS (Scale), I'd get most of what I need, but would have to reformat everything (I currently have a software RAID and a backup HDD and the latter is in XFS). And my main issue with Ubuntu is, that I usually need to do stuff using SSH, because e.g. Cockpit is somewhat not as integrated as the UIs of dedicated distributions such as unRAID and TrueNAS.
    So I am kinda stuck trying to figure out what I am okay with using...

  • @djKenpLan09
    @djKenpLan09 ปีที่แล้ว

    Another great video!

  • @donnieb390
    @donnieb390 3 ปีที่แล้ว

    Really enjoying your presentation in the videos. You are superrrrrr comfortable to watch. Good vibes!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Thank you so much! Got something coming soon that’s awesome!

  • @EmilePolka
    @EmilePolka 4 ปีที่แล้ว +2

    im actually virtualizing my firewall in the past, but doing certain things on the host machine can severely effect your firewall (thus cutting access to internet and your wife and kids will be angry at you).
    me here running baremetal, to be honest, after I offload it, the CPU usage on my host VM severely decreased. and for some oddball reason, my power consumption is actually 30watts lower despite running another rack to run dedicated pfsense firewall (r210-ii).

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      I totally agree, that's why I try not to reboot this machine.

    • @AyoolaBoyejo
      @AyoolaBoyejo 4 ปีที่แล้ว

      Exactly my point too. In my own case, I run multiple VLANS and each terminate on separate nic on pfSense for insane DMZ setup. It's just best to have a separate low powered device for pfSense.

  • @davidg4512
    @davidg4512 4 ปีที่แล้ว +2

    Well, I run all my docker containers on VMs, on proxmox. It's awesome.

    • @longnamedude3947
      @longnamedude3947 4 ปีที่แล้ว +2

      Docker containers inside of a Virtual Machine running on top of Proxmox.... My only question is, what is the performance like?
      Most people would question why, I'm not asking that question because I assume you've done so for security reasons?

    • @longnamedude3947
      @longnamedude3947 4 ปีที่แล้ว

      @Sussudio Gaming So,
      You run Proxmox as your "Host OS" and then you run a variety of virtual machines for the various tasks and utilities that you wish to run on that hardware.
      pfSense for your networking requirements with a Network Card passed through from the Proxmox "Host OS".
      Windows (10?) virtual machine with a GPU passed through from the Proxmox "Host OS" for gaming.
      Ubuntu Server virtual machine with Docker installed onto it for running all of your containers (This is also running on top of the Proxmox "Host OS" just like the other two previously mentioned VM's)
      I'm actually really interested in VM's, containerisation and overall consolidation of many sets of hardware into one system.
      In my personal experience I've always had performance issues with Virtual Machines and I've been trying to find someone or somewhere that can help me out with those issues.
      For reference the systems I've tried VM's on are powered by either Dual Intel Xeon X5650's with 48GB of RAM, or, AMD Ryzen Threadripper 1950X with 64GB of RAM.
      If there's a way to consolidate my various physical machines to just these two sets of hardware then I'd love to find out more information.
      If you are willing to reach out to discuss this further then reply here and I'll provide my discord username so we can discuss things in more detail if at all possible :)

    • @longnamedude3947
      @longnamedude3947 4 ปีที่แล้ว

      @Sussudio Gaming I'll drop by :)

    • @tbhinteractieve
      @tbhinteractieve 4 ปีที่แล้ว

      Why? You can run containers in proxmox.

    • @longnamedude3947
      @longnamedude3947 4 ปีที่แล้ว

      @@tbhinteractieve Isolation, depending on what your use case is, how you have it all set up, and what your intended hardware is it may make sense to add an additional layer of isolation and obfuscation.
      It isn't a bullet proof solution, and it has drawbacks, but it's always better to be safe than sorry.

  • @ejkeebler
    @ejkeebler 3 ปีที่แล้ว +2

    containerizing a lot of stuff, do you just have 1 vm for all of those docker containers and send all your cpu/cores to it? or do you try to separate them out over a couple of vms?

    • @chromerims
      @chromerims 2 ปีที่แล้ว

      Dear friend,
      TT gives an answer to another commenter named 'Humping Mushroom'.
      Kindest regards.

  • @hilkomenke8340
    @hilkomenke8340 3 ปีที่แล้ว +1

    Thanks for your video's. Makes things very easy to understand! Maybe it's already mentioned and answered but I didn't find it in the comments below, but I didn't understand No. 10 Docker Rancher Kubernetes unfortunaly. Did you make a separate video on that, or answer a similar question? If not can you maybe try to explain once more? Do you have two physically different devices, one with virtualized Ubuntu with Docker on top of it, and one with Ubunta bare metal with Proxmox installed on it? I did try to read into this online and found the following but I also do not understand what they try to say ...
    "Docker aims at running a single application in an isolated, self-contained environment. These are generally referred to as “Application Containers”, rather than “System Containers”. You manage a Docker instance from the host, using the Docker Engine command line interface. It is not recommended to run docker directly on your Proxmox VE host.
    Note: If you want to run application containers, for example, Docker images, it is best to run them inside a Proxmox Qemu VM."

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Hi! I always start with an Ubuntu machine and install docker and kubernetes from there. I never install or run anything directly on my hypervisor. I just let my hypervisor be a hypervisor. See my docker rancher video!

  • @BigBoiBalu
    @BigBoiBalu 2 ปีที่แล้ว

    Thank you 😊

  • @balsalmalberto8086
    @balsalmalberto8086 8 หลายเดือนก่อน

    I have Pi-hole on a raspberry pi zero that's connected with ethernet for many years but I added a secondary Pi-hole lxc on proxmox and also AdGuard on proxmox lxc because why not.

  • @Geek_Chef
    @Geek_Chef 4 ปีที่แล้ว +2

    Fantastic content....Just amazing! Question....I only have one server... 6 cores 32 gig ram....so I put proxmox on it and installed Home Assistant in a virtual machine. So if I wanted to add more items that are docker based....I would need to install a lInux VM and install Docker and then install docker containers in that VM under docker....correct...?

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +2

      Geek_Chef thank you! That’s absolutely corect! If you want to try Rancher to manage docker, check out that video!

    • @axelolaussonholtenas5087
      @axelolaussonholtenas5087 3 ปีที่แล้ว

      You can also install it on "proxmox" cause it's debian but it will maybe not be as secure as in a vm

  • @rahultech77
    @rahultech77 9 หลายเดือนก่อน

    By containerize it, do you mean run docker container, create a deployment inside a kubernetes cluster (which runs a docker image)?

  • @tannerpinney3608
    @tannerpinney3608 3 ปีที่แล้ว

    So all the things you choose to containerize, are still running on a proxmox OS? So it's Proxmox-Ubuntu-Docker(KuBernetes+Rancher) on same ubuntu install? So all of your containerization exists on a single ubuntu instance within proxmox?
    Great videos, just trying to plan a good strategy to install Proxmox on my old PC for a server + other stoof. You've done a great job of spreading solid info for us noobs!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      Proxmox->ubuntu->docker/rancher/kubernetes

  • @mauricioocampo8957
    @mauricioocampo8957 ปีที่แล้ว

    Thanks for the video and explanations. I am still confused when you say containerize because if you don't say docker, I don't know if you mean a container in proxmox with ubuntu in it and then what you need on top. For example, how would you containerize Nextcloud, a web server, and a VPN server? that is what I need to create and seems I can containerize all but I am not sure if using docker in proxmox and can I run them all in the same container? Thanks in advance

  • @ayas007utube
    @ayas007utube ปีที่แล้ว

    would be good if you can share how much compute these apps/pieces of software take from your CPU i.e. CPU Geekbench score of 10000 pfsense would take ~ 2000, NAS would take 2000, containers would take xxx and so on. This gives visibility of typical requirements of apps as well as helps decided how much horsepower is needed in one server.

  • @AyoolaBoyejo
    @AyoolaBoyejo 4 ปีที่แล้ว +1

    This is awesome, I'm wondering if there is a VoIP app that could be containerised for a simple home intercom system.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      Great idea! I think so!

    • @AyoolaBoyejo
      @AyoolaBoyejo 4 ปีที่แล้ว

      @@TechnoTim 3CX seems great but I doubt it's docker compatible. It would be nice if you could find one.

  • @radunastase1865
    @radunastase1865 ปีที่แล้ว

    Hi, I am trying to virtualize pfsense in proxmox and use the homelab server as a router, nas, etc. My main concern is how to change the proxmox host to be accessible only in the LAN network of the virtualized pfsense. So the setup will be like this ISP -> Proxmox Machine that will have Pfsense, TrueNas, etc as VMs. I have a 10gb intel x550-t2 network card so I can plug the ISP into one nic the then via pfsense provide access to the home network through the other nic.

  • @gustogusto4519
    @gustogusto4519 2 หลายเดือนก่อน

    Looking to run Jelyfin and Batocera on an HP Mini G4 i58500T with 16GB RAM.
    What would be the recommended way to do this? Containers for both? Dual Boot on Bare Metal?
    Currently running Dual Boot but would rather be able to be running both Jellyfin for everyone else in the house, while having the ability to play on Batocera.
    Any ideas are appreciated.

  • @fitlikeaglove7396
    @fitlikeaglove7396 4 ปีที่แล้ว +1

    Can you explain a little on backing up using backblaze? I've wanted to do this sort of setup but Backblaze has actually stopped me as I use it for my backups and it only runs on windows for local disks. How did you get this to work in a VM? Are you just duplicating the files to the Windows VM and Backblaze just uploads this? That would get rather expensive local storage wise, basically a super crude RAID 1.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว

      You could set up ISCSI on Windows with FreeNAS. I might even have a video ;)

  • @hamhumtube
    @hamhumtube 4 ปีที่แล้ว +1

    Encyclopedia grade. Thanks.

  • @skalif8469
    @skalif8469 2 ปีที่แล้ว

    Good luck applying it on enterprise environment

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Most enterprises I’ve worked at have been containerizing with kubernetes for years!

  • @JamesMyatt1
    @JamesMyatt1 2 ปีที่แล้ว

    Great video. Do you have a video on where LXC fits into this?

  • @fmj_556
    @fmj_556 4 ปีที่แล้ว +1

    Great advice! Thanks! I’m just learning all this virtualization stuff. I have 2 old hp servers and picking up a better one tomorrow with virtualization in mind. Thanks again?

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +2

      Good luck with the new server! We’ll be here to help!

    • @fmj_556
      @fmj_556 4 ปีที่แล้ว +1

      Techno Tim actually the other day I picked up a Supermicro SuperServer 4029GP-TRT2 Server that handle 10 gpu’s and dual xeon e52620 scalable CPU’s with 8 cores each. Let’s see how this turns out.

    • @axelolaussonholtenas5087
      @axelolaussonholtenas5087 3 ปีที่แล้ว +1

      @@fmj_556 Waaaww that's something i hope i have money for

  • @alexmih6641
    @alexmih6641 4 ปีที่แล้ว

    I have PiHole container on Pi4 toghether with Deluge and minidlna with a 3Tb usb3 drive. It works flowless!(I have active cooling )

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว

      Nice!

    • @alexmih6641
      @alexmih6641 3 ปีที่แล้ว

      @@TechnoTim I had a wierd issue last week, somhow docker got updated automaticaly with ubuntu updates and reset to default the path to containers/images of docker. Previously I have set the path to the usb3 hard drive because the sd card is to slow for docker. It took me sme time to figure it out. :) I thought that someone deleted all my containers, images, evrything docker related. :)

  • @geterdnboy
    @geterdnboy ปีที่แล้ว

    Do you run all your dockers on one vm? What flavor ?
    Im just getting in to home lab and starting with unraid because it seemed easy to use docker but am now looking in to proxmox but it seems dockers are a little harder to use with proxmox.
    I dont even know if i will need to use dockers because my main goal is gamming servers with some other functions on the side.

    • @TechnoTim
      @TechnoTim  ปีที่แล้ว

      Thanks! I use Ubuntu for almost all of my VMs! I have lots of videos on this stuff! If you're new with Docker, check out Portainer too!

  • @piotrwojcik9112
    @piotrwojcik9112 3 ปีที่แล้ว +1

    VM for games (let's say for steam's remote play) may not be sometimes the best idea. Anticheat protected games do not like hypervisors and have valid arguments for doing so. Recipe for instant ban. Except for that, congrats - really useful for people planning to rebuld their it gears

    • @hydrokat143
      @hydrokat143 2 ปีที่แล้ว

      You should be fine with single player games. It's not the best experience to play online games especially the competitive ones through remote play anyway. The added latency - both network and input latency - will put you at a disadvantage.

    • @piotrwojcik9112
      @piotrwojcik9112 2 ปีที่แล้ว

      @@hydrokat143 Remote play seems to be bad example here - as it is rather consistently outperformed by other streaming solutions (e.g. Parsec or nvidia gamestream-based ones). Nevertheless, latency will always plague network-based remote streaming at some capacity. Speaking of gamestream, I would now consider just contenerizing Sunshine for remote linux-based gaming if somebody is willing to accept only Proton-compatible titles.

    • @hydrokat143
      @hydrokat143 2 ปีที่แล้ว

      @@piotrwojcik9112 i have only tried remote play. It’s more like a glorified livestream to me. Frames are okay but the input lag is too much to be playable.
      I have not tried anything else since. maybe because I have no use case for it personally.

  • @fernounyabdelbasset2912
    @fernounyabdelbasset2912 2 ปีที่แล้ว

    Thanks for the video , but 1:50 isn't proxmos a bare metal hypervisor that run on top of host machine directly without host os between ??

  • @thomasschneider5983
    @thomasschneider5983 3 ปีที่แล้ว

    Can you please share some info regarding the containerized home network solution with UniFi Network?

  • @YannMetalhead
    @YannMetalhead 10 หลายเดือนก่อน

    Good video.

  • @estebansierra934
    @estebansierra934 3 ปีที่แล้ว +2

    You make such amazing and informative videos. Please keep making videos, do you have patreon?

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Thank you! I do! www.patreon.com/technotim

  • @davidg4512
    @davidg4512 4 ปีที่แล้ว +1

    Perfect video.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว

      Glad you liked it

  • @kylecurry6841
    @kylecurry6841 2 ปีที่แล้ว

    Tim I know this is an older video, but I don't think that makes any difference to the concepts discussed here concerning PVE, but did you highlight Docker (over LXC) due to it's streamlined popularity with many of the ready to go services vs LXC?
    I would agree LXC vs Docker tends to be more hands on, but I've come to use it quite a bit since having PVE at home and work.
    Because LXC is an extension of the host OS, I tend to use LXC for local network single service applications (or when I need a guest system to have direct file access with PVE), and even though I do spinup full VM's for single service applications, I usually go for a full VM if the application is web facing given the potential for container security has less isolation in theory (at least with LXC) vs VM's ..I know Docker is a slightly different kind of containerization compared with LXC so you can't compare them whole handedly.

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Thank you for the comment and I agree! I do see a use case for using LXC over virtual machines. I have been kicking the tires on using it instead of a VM in some cases! Thank you for stopping by!

  • @kickstartnetworking3347
    @kickstartnetworking3347 2 ปีที่แล้ว

    Given the low prices of hardware and the fact that I can run multiples os such as windows server 2019/2022 windows 10/11 and Linux in my home pc, which is not that powerfull as a server, I'd rather virtualization and the full control that a virtual machine provides, what if you need ADDS or GPOs, what if you have an application that runs only in windows, will you implement both?, containers and virtualization?

  • @RadTechDad
    @RadTechDad ปีที่แล้ว

    If you're using Unifi Network to manage your AP, can't you just use that to also manage your firewall? Instead of using pfSense? I have a Unifi Dream Machine (UDM) and I use that to manage my firewall. Aren't you creating more work for yourself by setting up pfSense?

  • @dinkidink5912
    @dinkidink5912 2 ปีที่แล้ว

    I have a NAS running a barebones Debian install, soon I'll get a bit of a homelab up and running, I considered consolidating the NAS into it but decided against it. You said you have had no issues running ZFS inside a VM but I think ZFS should probably be run bare metal, this means I can also use an existing mATX mobo for the new server and not use up one of the few pcie slots for the SAS card currently in the NAS.
    I've also been curious about TrueNAS but it's honestly a bit overkill for a basic file server, a while ago the OS SSD in my NAS died. I'd fully documented setting up my NAS the first time and it took me about 1 hour to reinstall Debian and get everything set up again. I wonder with your extensive homelab setup what you actually need from TrueNAS?

  • @ALN2006
    @ALN2006 4 ปีที่แล้ว

    nice fresh channel, subscribed clicked the bell icon, but content and postproduction is PRO, i`m interested in containerization vs virtualization vs bare metal, if docker share os and VM don`t maybe most of the things should go for containerization if it is possible, rest VM and some BM, i`am just a newbie and i need to learn more but latest and greatest technologies to get to IT

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      Thank you so much! Welcome! You can do it!

  • @davidg4512
    @davidg4512 4 ปีที่แล้ว +1

    Can I get your input on why you chose not to use zfs baked into proxmox and instead used a freenas vm? It seems like a huge overhead.

    • @Alphahydro
      @Alphahydro 4 ปีที่แล้ว +1

      I run my FreeNAS on top of ProxMox. It seems FreeNAS has more of a granular control of the ZFS file system.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว

      FreeNAS is a NAS first and I need some of the features it provides without hacking at my proxmox server (like iSCIC). FreeNAS makes it easy to set up shares, manage accounts, and even back up my Macs using Time Machine.

    • @Alphahydro
      @Alphahydro 4 ปีที่แล้ว

      @@TechnoTim
      Pretty Much

  • @blainescroggs9268
    @blainescroggs9268 2 ปีที่แล้ว

    You should do a video on Shinobi! It's so much better than Zoneminder.

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว +1

      I'll check it out!

  • @ewenchan1239
    @ewenchan1239 2 ปีที่แล้ว

    Stupid question -
    With 20 different "services" that you have mentioned, aren't you massively oversubscribing your hardware? (I'm counting all of the services that you're containerising and if they're running off the same baremetal server or VM that's running on the same baremetal server, don't you end up in a scenario where you are oversubscribing your hardware? Furthermore, I'm still not sure why you would containerise your web server vs. hosting it via a VM.)
    Or are they running on different machines/systems?
    For example, you mentioned quite a number of services that you've containerised.
    Are they ALL containerised on the same Ubuntu VM that you've spun up for said Docker/containerisation or are you spinning up MULTIPLE Ubuntu VMs for Docker/containerisation?
    I'm a little bit confused by that.
    Also, for your virtualised FreeNAS file server, it is my understanding that FreeNAS (now TrueNAS) will use whatever remaining RAM that you give it as cache.
    But if you have virtualised it, presumably with other services/VMs/containers that you are running on the same baremetal system (unless it's a dedicated baremetal server that you've installed a VM on only to then install FreeNAS on top of that VM), wouldn't you not providing more RAM/additional RAM than what it needs as its "bare minimum" be to the detriment of the FreeNAS VM?
    Furthermore, aren't you just complicating things because if you've virtualised FreeNAS and then having to passthrough your LSI controller and the disks along with it, you'd adding in an additional layer in between?
    I guess I'm a little bit confused as to why wouldn't you do it the other way where you would install FreeNAS on bare metal, and then also use that as a virtualisation platform given that now FreeNAS/TrueNAS uses BSD jails/containers?
    Can you clarify this point a little bit further please?
    Thanks.

  • @bopal93
    @bopal93 2 ปีที่แล้ว

    Containers are great except when you have to mount NFS or CIFS on a container. You can't do with that with an unpriviledged container. One solution would be to use privileged containers which I do not know how much secure they are.
    Can you make a video on how do you handle such issue?

    • @jirkav
      @jirkav ปีที่แล้ว

      Mount it on your host machine and pass it as volume

  • @7MBoosted
    @7MBoosted 4 ปีที่แล้ว

    What is your virtualization hardware? If you have one machine its like it has to be some exotic Epyc or Xeon high core count, high pci-e lane setup.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      th-cam.com/video/23jbcw_n20I/w-d-xo.html

    • @7MBoosted
      @7MBoosted 4 ปีที่แล้ว

      @@TechnoTim that is really nice. Are dual x5870s power hogs? Their so old. But 24 threads can obviously run a lot of services.

  • @fabsync
    @fabsync ปีที่แล้ว

    Tim thanks a lot for your vídeos man! I have a situation.. I am planning to set up a website from a home server (on a 1 gbs) to perform machine learning.. with s3 bucket to backup files..
    I am trying to decide if I should use proxmox or just ubuntu server .. what would you recommend..?

  • @skethvagabond723
    @skethvagabond723 2 ปีที่แล้ว

    Mind blown 🤯

  • @sssss1877
    @sssss1877 2 ปีที่แล้ว +1

    if you gonna use high load database - never use docker for it. You will have big issues with perfomance. For small projects - its doesnt matter

  • @wuzzle5261
    @wuzzle5261 3 ปีที่แล้ว

    If I have proxmox installed bare metal, and I wanted to run a few of the services you recommended putting in a container, would I run a VM and then on the VM run the containers? Edit: I think you answered this in #10, but wanted to make sure I didn't miss anything.

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      That’s what I do!

    • @wuzzle5261
      @wuzzle5261 3 ปีที่แล้ว

      @@TechnoTim Awesome, thanks very much!

  • @leemyers8407
    @leemyers8407 ปีที่แล้ว

    I have my Docker running in a Linux Container on my Proxmox server.

  • @SchoolforHackers
    @SchoolforHackers 3 ปีที่แล้ว

    Brilliant.

  • @keiwarcraft
    @keiwarcraft 3 ปีที่แล้ว

    I use mov with docker

  • @adimmx8928
    @adimmx8928 3 ปีที่แล้ว

    Hi , thanks for this quality content, im in the process of building a 12/24 core pc (3900x) 16g rams, and i need to run nginx,php, sql server, a custom api writed pyhton3 , and a win 10 machine and a win7 machie. How would you o this for maximum performance? Thanks!

  • @flyby6417
    @flyby6417 3 ปีที่แล้ว

    IF I wanted to build a Proxmox machine that would run all twenty of the containers/VE you mentioned what would be the minimum requirements?

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      It depends on what those containers are and how much load they add. I's take a look at this and go form there kit.co/TechnoTim/performance-virtualization-nas-server

  • @khaledbalharith953
    @khaledbalharith953 4 ปีที่แล้ว

    شكرا على المحتوى المميز 🌹❤️

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      Thank you!

  • @davidg4512
    @davidg4512 4 ปีที่แล้ว +5

    4:37: threads and cords, lol

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +2

      lol I meant cores and I had a subtitle fix for it but I ended up putting B Roll over it

  • @patti2
    @patti2 2 ปีที่แล้ว +1

    The comments really show why no dev should ever do infrastructure, containerizing NASes and DBs is just straight up sinful

  • @Anuitu2u
    @Anuitu2u 2 ปีที่แล้ว

    I thought, it's the same thing with egg. Fried it or boiled it.
    Had their own advantages, flavours and also cons.

  • @longb1913
    @longb1913 2 ปีที่แล้ว

    so virtualise if app needs access to hardware (e.g. firewall > NIC) otherwise containerise

  • @haophan2280
    @haophan2280 3 ปีที่แล้ว

    Run Production on LXC or on Docker ?

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      If it were between the two, I personally go with Docekr. If you also included containerd and kubernetes I would choose that!

  • @janosekadam
    @janosekadam 2 ปีที่แล้ว

    Hi, really good video :-)

  • @strandvaskeren
    @strandvaskeren 2 ปีที่แล้ว

    Any reason for using docker containers rather than proxmox containers?

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Docker is more widely used.

  • @jaimecabrera8102
    @jaimecabrera8102 4 ปีที่แล้ว

    If you virtualize freenas, how to resolv the fact of the lack of manage phisical disks, I only want to understand your criteria.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      Jaime Cabrera th-cam.com/video/iva4DmOmSTc/w-d-xo.html

  • @SyberPrepper
    @SyberPrepper 4 ปีที่แล้ว

    I'm just starting my journey on virtual machines. When you install Windows on a virtual machine, at what point do you need to pass through the GPU? Is it only if you run graphics intensive games on a particular Windows VM? Another way to phrase it, could I create 5 Windows VM's and Remote Desktop into each one without doing anything special like passing through the GPU? Thanks very much.

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      SyberPrepper absolutely. Passing through the GPU is complex and a very special use case. You don’t need to do this at all! Windows virtual machines run great without them!

    • @SyberPrepper
      @SyberPrepper 4 ปีที่แล้ว

      @@TechnoTim That's great to know. They use VMware where I work and it didn't make sense that they had to pass through the GPU for hundreds of Windows users. However, on TH-cam, whether for Proxmox or XCP-ng, I hear a lot of talk about passing through the GPU so it confused me. Thanks for clearing that up!

    • @TechnoTim
      @TechnoTim  4 ปีที่แล้ว +1

      Yeah, it’s the holy grail of virtualization, because then you can do anything like play games or encode video using the GPU in a VM

  • @rashie
    @rashie 2 ปีที่แล้ว

    👍👍

  • @maherkhalil007
    @maherkhalil007 3 ปีที่แล้ว

    Hello, Is it safe to offer container VPS to my customers?