Moving My Dockers to Proxmox LXC Containers

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • working on consolidating my servers which means i will be moving some dockers from my pi-hosted arm64 to amd64 proxmox in lxc container form. thank for the view
    ○○○ LINKS ○○○
    Proxmox Playlist ► • This Changes Everythin...
    Pi-Hosted Playlist ► • Pi-Hosted: Installing ...
    tteck help-script ► github.com/tte...
    ○○○ SHOP ○○○
    Novaspirit Shop ► teespring.com/...
    Amazon Store ► amzn.to/2AYs3dI
    ○○○ SUPPORT ○○○
    💗 Patreon ► goo.gl/xpgbzB
    ○○○ SOCIAL ○○○
    🎮 Twitch ► / novaspirit
    🎮 Pandemic Playground ► / @pandemicplayground
    ▶️ novaspirit tv ► goo.gl/uokXYr
    🎮 Novaspirit Gaming ► / @novaspiritgaming
    🐤 Twitter ► / novaspirittech
    👾 Discord chat ► / discord
    FB Group Novaspirit ► / novasspirittech
    ○○○ Send Me Stuff ○○○
    Don Hui
    PO BOX 765
    Farmingville, NY 11738
    ○○○ Music ○○○
    From Epidemic Sounds
    patreon @ / novaspirittech
    Tweet me: @ / novaspirittech
    facebook: @ / novaspirittech
    Instagram @ / novaspirittech
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.

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

  • @JeffGeerling
    @JeffGeerling 4 หลายเดือนก่อน +280

    A comment for the algorithm, and for healing, beep boop!

    • @romayojr
      @romayojr 4 หลายเดือนก่อน +9

      you're the goat

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

      Same :)

    • @kmi3c
      @kmi3c 4 หลายเดือนก่อน +1

      Beep! ;)

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

      💯

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +7

      thanksss!

  • @davidpower3102
    @davidpower3102 4 หลายเดือนก่อน +17

    Keep on kicking butt! 💚

  • @goatwhoroams
    @goatwhoroams 4 หลายเดือนก่อน +20

    Thanks for everything Don!

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

    Hey! I just did this over weeks and it was pretty fun! I transformed almost all my docker containers to lxc containers, except authentik and wyze bridge, which i couldn't because they don't support it. i have all of my homelab containers with one openwrt, and public ones on an other. It works great!

  • @perveziqbal2333
    @perveziqbal2333 4 หลายเดือนก่อน +6

    Thanks

  • @bestofweb1011
    @bestofweb1011 4 หลายเดือนก่อน +1

    Just thank you ❤️

  • @johncnorris
    @johncnorris 4 หลายเดือนก่อน +3

    Looks promising!

  • @MarkConstable
    @MarkConstable 4 หลายเดือนก่อน +2

    Another thing that I do is I have a couple of Proxmox Backup Server hosts (actually all my PVE hosts are also PBS hosts) with an auto 6 hour backup schedule, so I can freely delete most of my only lightly used VMs and CTs and then restore them on an as needed basis. Ie; if you don't use your Win11 VM all that often, then you can "put it on ice" and restore when needed.

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +1

      yup i have so many things on ice, like you said

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

    Staying strong!

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

    Excellent vid so useful thanks

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

    great video,
    almost every app that i run, is on an lxc
    thx

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

    Thanks, great info.

  • @KeithHardy-y1p
    @KeithHardy-y1p 4 หลายเดือนก่อน

    Thanks!

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

    This is cool! I'll give it a go. Thank you

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

    Good stuff

  • @jgz2
    @jgz2 4 หลายเดือนก่อน +2

    Thanks again. How does one attach 2-3 12TB drives. There doesn't seem to be the normal SATA connectors on the MS-01. Do you use a DAS? NAS? Confused where the data (ie. movies and tv shows) for sonarr, radarr, jellyfin etc would go.

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +2

      once i clean up my network a bit more i will make a video about, but for now i have a proxmox server and a NAS or at least i hope the end result will be

  • @TangDynasty1983
    @TangDynasty1983 4 หลายเดือนก่อน +1

    mini PC manufacturers such as Minisforum usually don't offer BIOS update at all. Do you think this is a problem running it as a Hypervisor? Thanks.

  • @Zedris
    @Zedris 4 หลายเดือนก่อน +2

    don i think a good video would be how to organize lxc/vms in proxmox. from the numbering id's to the naming etc.

  • @PonM-e3e
    @PonM-e3e 8 วันที่ผ่านมา

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

    don't those script install docker and a docked image all the same?

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

    Any way to have automatic backups? I want to start now in proxmox, but I'm a little bit confuse

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

      yes you can setup auto backup to your nas every day or whenever

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

      @@NovaspiritTech So you depends from a separated Nas to handle the files and the backups

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

    I wonder why proxmox has LXC instead of docker. Hmm

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

    Algorithm Algorithm

  • @artemisa81
    @artemisa81 4 หลายเดือนก่อน +10

    Thanks! great video. Keep it up and thanks for continuing uploading videos

  • @choahjinhuay
    @choahjinhuay 4 หลายเดือนก่อน +33

    Hope that you continue to heal Don!

  • @frankfu1122
    @frankfu1122 4 หลายเดือนก่อน +27

    Keeping healing, keep posting! Love it!

  • @donaldhoudek2889
    @donaldhoudek2889 4 หลายเดือนก่อน +11

    {Superhouse #23 - Preparing your home automation for death}. There is an excellent TH-cam video by SuperhouseTV, regarding preparing your home automation for your absence, as well as mine. It sucks when you have to talk about this. I am in a similar situation, but different and the wife is no where near being able to maintain our home automation. I started documenting my network, sensors, security.... a few years ago, but still have a long way to go. I started with an overview and then went into detail. One problem is that it is a "Living Document" and will never be completed. I do have a son that is good at this stuff so I am in the process of giving him remote access and full control of the entire system. I am 75 and time is running out, so I am spending as much time on this project as possible. Best of luck to you!

  • @ISBayHudson
    @ISBayHudson 4 หลายเดือนก่อน +9

    FYI docker runs fine in an LXC container with nesting enabled.
    When docker is the most.sensible way, I set up docker on the LXC

  • @JohnPMiller
    @JohnPMiller 4 หลายเดือนก่อน +2

    If anyone has a company that would be interested in sponsoring a Novaspirit Tech video, it would be an effective way to reach Don's devoted viewers & subscribers. Always great content from a great guy!

  • @H0mework
    @H0mework 4 หลายเดือนก่อน +5

    Best of luck to you! You've been super helpful you shouldn't be going though this.

  • @MarkConstable
    @MarkConstable 4 หลายเดือนก่อน +15

    Heh, an almost docker free homelab. Love it! What would be interesting is to compare resource usage between the previous docker containers and after moving them to LXC. Each LXC requires an entire OS, albeit a lightweight Debian one, but then Docker has all these layers that pull in an unknown amount of... dare I say, garbage. As you say, the LXC version "feels" snappier. Comparison stats on cpu, ram and storage usage between the two would be fascinating.

    • @bluesquadron593
      @bluesquadron593 4 หลายเดือนก่อน +3

      These lxc containers are docker containers with a single application installed.

    • @GreatTaiwan
      @GreatTaiwan 4 หลายเดือนก่อน +5

      why is docker (let's say container) free a good thing ?

    • @andreas.grundler
      @andreas.grundler 4 หลายเดือนก่อน +1

      @@GreatTaiwan Docker containers may contain old versions of libraries or programs that have security vulnerabilities. Unless you build the Docker container yourself, there is nothing you can do about it. With LXC containers, on the other hand, you can install security updates.

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

      @@GreatTaiwan I simply do not want to deal with or use Docker technology. I think it's a dumb and needlessly complex concept compared to LXC containers.

    • @MarkConstable
      @MarkConstable 4 หลายเดือนก่อน +1

      @@bluesquadron593 Sure, but LXC containers have a "real" OS as a foundation instead of a mess of overlays. The option is there to include more traditional services if needed, with a single unit for backup.

  • @cgaquikkie
    @cgaquikkie 2 หลายเดือนก่อน +1

    BTW for next time: privileged LXCs can just used NFS/CIFS directly, unprivileged LXCs require the use of bind mounts. You selected privileged LXC and then went through the bother of bind mounts instead of just modifying /etc/fstab.

  • @donkey3077
    @donkey3077 4 หลายเดือนก่อน +2

    The reason I've stuck with docker containers is that they are easier to keep updated. A LXC container needs to be updated in at least in two ways, you need to update the OS and then you need to update the app (and whatever tools the app uses, like apache, some runtime). In docker I just do docker compose pull to download latest image. Or am I doing it wrong?

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

      I also think so. I'm using watchtower container to keep everything updated automatically.

  • @itznolimitz
    @itznolimitz 4 หลายเดือนก่อน +1

    Wanted to comment on mountpoints in containers if you have a cluster setup. I have a proxmox 3 node cluster using ZFS replication (not ceph) I had issues with creating a replication because of the bind mountpoint, to resolve this you need to set replicate=0 in the mointpoint. That resolved the replication issue, however next I couldn't migrate the container to other nodes. to do that you need to set the shared=1 in the mountpoint. Mark sure the mountpoints exist on all nodes exactly the same (they should since it's set at the datacenter level). the mountpoint now looks more like this:
    /mnt/pve/nas/movies,mp=/movies,replicate=0,shared=1

  • @karloa7194
    @karloa7194 4 หลายเดือนก่อน +1

    I'm in a process of moving away from containers. I went with VMs because of NFS. I didn't mount the NFS via Porxmox because the host has read/write access to the share.

  • @critcritter8069
    @critcritter8069 4 หลายเดือนก่อน +2

    Like and comment for the algo, prayers for your health

  • @loomoo500
    @loomoo500 4 หลายเดือนก่อน +5

    Man this video dropped JUST at the right time. I’m in the process of moving things over to Proxmox myself and getting stuck on some. Thanks so much.

  • @ewenchan1239
    @ewenchan1239 4 หลายเดือนก่อน +2

    LXC containers are VERY powerful.
    A LOT of people/tech TH-camrs talk about homelabbing with VMs, but I think that some of the real magic happens with LXC containers instead.
    It's significantly lighter weight and faster than a VM (since it shares the kernel with the host) and I've been able to actually get a LOT done with LXC containers, pack more stuff in with the same hardware without having to carve out/provision hardware resources for VMs.
    The only time that LXC containers doesn't work is if I want to run a different kernel (e.g. Windows, Solaris, macOS), for all of the Linux stuff, I think that I am down to only two VMs left (because it's much more difficult to get multi-monitor support with LXC containers than it is with Linux VMs).
    Mount points are awesome. I use it all the time.

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

    yay a new vid on lxc containers! I've been messing around with them and they're amazing. I got an alpine server running on like 4mb ram lol

  • @TheBupsta
    @TheBupsta 4 หลายเดือนก่อน +1

    Gotta feed that algo! Also, this is great content!

  • @geogmz8277
    @geogmz8277 4 หลายเดือนก่อน +3

    Dropping like and comment.

  • @dertyp1398
    @dertyp1398 4 หลายเดือนก่อน +1

    I watching this one without my Adblocker.

  • @bluesquadron593
    @bluesquadron593 4 หลายเดือนก่อน +1

    I don't think you need privileged lxc for mounting. Also, probably want to turn off the replication for the mount point. Also check how to backup an lxc with mount point. I believe snapshot doesn't work.

  • @su1ka
    @su1ka 4 หลายเดือนก่อน +1

    hey, how do you plan to update LXC containers? One by one 30+ times? For the porainer/docker VM i'm running watchtower ~once per month

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +1

      ttech has 2 scripts to update lxc containers, my plan is to update all the containers every sunday 12am vai cronjob

  • @fedefede843
    @fedefede843 3 หลายเดือนก่อน +1

    I've seen this migration a 1000 times. It is good. I understand the fine granularity to backup the entire container. That is great. I also see the resource management being more efficient in some cases, that is a plus too. Sharing host HW, another plus. Etc.
    But... How about apps life cycle ? Nobody seems to address this. In my docker setup I use watchtower for all the automatic ones. For the critical ones I click by hand using portainer. There are several approaches to this, but all are concentrated in that one docker service.
    What now? How do these individual 20 LXC containers update? Who controls that ? Is there any visibility? I would really appreciate if someone made a video touching on that.
    Thanks for sharing!

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

      i would think you could write a script for that. ssh into your proxmox node and run the script in terminal. I've only ever had 3 lxc's running at once so always just updated manually

  • @ronm6585
    @ronm6585 4 หลายเดือนก่อน +5

    Thanks Don.

  • @Champabay
    @Champabay 4 หลายเดือนก่อน +1

    Ha just did all this but from Windows instead of docker. Those helper scripts are awesome but wish there was a guide to convert myself.

  • @geesharp6637
    @geesharp6637 4 หลายเดือนก่อน +1

    Oh wow. I didn't know about data center storage. I was going to do this manually. Life saver.

  • @mikedoth
    @mikedoth 28 วันที่ผ่านมา

    Could you install docker on Proxmox, move the compose, and have it rebuild on x86 (if avail)? This is why i'm looking at Incas.

  • @BrianThomas
    @BrianThomas 4 หลายเดือนก่อน +1

    Nasty NAS. Nasty backup, simple sweet and stupidly hilarious I love it

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

    I copied your homepage, AGAIN, and I've set a widget for CALANDER

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

    we ❤ you don, keep fighting. also this is very useful since ive neen struggling to create a linux vm with igpu passthrough on proxmox so im going to be giving lxc containers

  • @EdoardoPiccolotto
    @EdoardoPiccolotto 4 หลายเดือนก่อน +1

    Great content! I was looking for something like that!!!!
    Keep going, be strong!

  • @Zedris
    @Zedris 4 หลายเดือนก่อน +1

    one of the best channels on youtbe

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

    BTW, you can run docked in LXC. I transferred some of my portainer setup that way.

  • @luisalcarazleal
    @luisalcarazleal 4 หลายเดือนก่อน +1

    I’m now trying to move unraid apps to proxmox containers running dockers separated by topic and it’s hard. Thanks for the video.

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

    Thanks for the content.
    I really wanted to this but I'm worried about those "Stale file handle" in both NFS and CIFS mounts. I have a script that automatically unmounts and mounts them on my VM but even that isn't foolproof that I had to do a restart.

  • @MillLeona-r5q
    @MillLeona-r5q 26 วันที่ผ่านมา

    Lee Jason Gonzalez Donald Perez Patricia

  • @alfarahat
    @alfarahat 4 หลายเดือนก่อน +1

    Perfect as usual man

  • @LenaMcKim-g5c
    @LenaMcKim-g5c 3 วันที่ผ่านมา

    Elwyn Squares

  • @mikekane9734
    @mikekane9734 4 หลายเดือนก่อน +1

    Thanks man! As as usual tons of love and support

  • @DavidDavisL
    @DavidDavisL 4 หลายเดือนก่อน +1

    Nice approach and a great plan. Wishing you the best as you continue forward.

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

    awesome content, always great to how you get your tools workin

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

    Don how are you doing, hang in there buddy.

  • @dzmelinux7769
    @dzmelinux7769 4 หลายเดือนก่อน +1

    Do you mind sharing how you run the other LXCs through the VPN container?

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

      i made a video on it -> th-cam.com/video/3mPbrunpjpk/w-d-xo.html

    • @dzmelinux7769
      @dzmelinux7769 4 หลายเดือนก่อน +1

      ​@@NovaspiritTechThanks a lot mate, will watch it now 👍

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

    Nice video, thanks 🙏

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

    Oh man top video for the migration.

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

    Best of luck to you! 'Calendar' on your homepage is mis-spelled.

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

      LOL just noticed that

  • @khalidelgazzar
    @khalidelgazzar 3 หลายเดือนก่อน

    A comment for the algorithm.

  • @LawrenceMarkell-r2l
    @LawrenceMarkell-r2l 11 วันที่ผ่านมา

    Mueller Shoals

  • @mehedyamin
    @mehedyamin 4 หลายเดือนก่อน +1

    Wishing you the best! 🙏

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

    Thats The Spirit Champ !!

  • @joemccay9978
    @joemccay9978 4 หลายเดือนก่อน +1

    What was the homepage from!

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +2

      check out my video on the homepage th-cam.com/video/ix5q6deTT18/w-d-xo.html

  • @jameswubbolt7787
    @jameswubbolt7787 4 หลายเดือนก่อน +1

    Wow, great .

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

    Engagement comment

  • @SupriyaMondal3
    @SupriyaMondal3 3 หลายเดือนก่อน

    very detailed video..

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

    👍🙂👍

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

    Stay strong!

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

    beep beep i'm a jeep

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

    Hey, what software are you using on the Pi? I usually use just docker ( swarm ), casaos or kasm web on arm boards. I like to see what you are using.

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +1

      check out my repo pi-hosted.com/

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

      @@NovaspiritTech Thanks will do.

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

    Thanks dude

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

    Thanks so cool

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

    Awesome.

  • @davidlakes5087
    @davidlakes5087 3 หลายเดือนก่อน

    LXC containers in privileged mode are just a huge security hole. Anything that can’t run as unprivileged LXC should instead be run in a VM. I wish you the best!

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

    This is great, thanks for this video. I can't see the link for the helper script page on the info, it would be useful to have it there.
    Otherwise great info

    • @NovaspiritTech
      @NovaspiritTech  4 หลายเดือนก่อน +1

      helper-scripts.com/ or my video th-cam.com/video/TJ8-oKRrwjE/w-d-xo.html

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

      @@NovaspiritTech Thank you for that. I subbed now and Won't be missing again :)

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

    Thank You your videos so simple and concentrated at a same point. Easy to folow. And always with a so good wibe

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

    I like docker, but I might give LXC a try. Thanks.

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

    Thanks Don. More LXC goodness. I'm running a win 11 LXC but encountered some weird issues regarding graphics drivers and mounting volumes.

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

    Nice, found your channel thru hardware haven. So sorry about your prognosis, hope things get better for you. I've been moving all my services to my proxmox environment also, this video helped me thanks!

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

    I wish I came to your channel under better news, be strong and sorry I'm late to the channel. Really enjoying the content, thank you

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

    That's why I like using compose files. You can use a compose file to create a stack in portainer, so one method does not exclude the other.
    Having all your appdata files in the same location is a good thing, it allows you to easily retrieve the config of your containers using scp.

  • @Jim-xh7hi
    @Jim-xh7hi 4 หลายเดือนก่อน

    ty bro!!!

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

    perfect exact what i was about to search for. works like a charm with jellyfin

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

    Extremely clever, you've convinced me to migrate too. Take it easy Don!

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

    Great content. I am learning a good bit from your work here. Thank you.

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

    Strength and best wishes. Appreciate the video content too.

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

    Thanks for continuing to do all this hard work and giving us so much value ! ❤

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

    My Unraid NAS is called Nasty too :D

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

    Wishing you a quick recovery.

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

    Thank you for the great video