Moving My Dockers to Proxmox LXC Containers

  Рет қаралды 30,551

Novaspirit Tech

Novaspirit Tech

Күн бұрын

Пікірлер: 147
@JeffGeerling
@JeffGeerling 6 ай бұрын
A comment for the algorithm, and for healing, beep boop!
@romayojr
@romayojr 6 ай бұрын
you're the goat
@ZoranTech
@ZoranTech 6 ай бұрын
Same :)
@kmi3c
@kmi3c 6 ай бұрын
Beep! ;)
@Hartley94
@Hartley94 6 ай бұрын
💯
@NovaspiritTech
@NovaspiritTech 6 ай бұрын
thanksss!
@choahjinhuay
@choahjinhuay 6 ай бұрын
Hope that you continue to heal Don!
@NovaspiritTech
@NovaspiritTech 6 ай бұрын
thanks
@davidpower3102
@davidpower3102 6 ай бұрын
Keep on kicking butt! 💚
@frankfu1122
@frankfu1122 6 ай бұрын
Keeping healing, keep posting! Love it!
@goatwhoroams
@goatwhoroams 6 ай бұрын
Thanks for everything Don!
@ISBayHudson
@ISBayHudson 6 ай бұрын
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
@donaldhoudek2889
@donaldhoudek2889 6 ай бұрын
{Superhouse #23 - Preparing your home automation for death}. There is an excellent KZbin 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!
@ewenchan1239
@ewenchan1239 5 ай бұрын
LXC containers are VERY powerful. A LOT of people/tech KZbinrs 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.
@loomoo500
@loomoo500 6 ай бұрын
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.
@csd4ni3l
@csd4ni3l 6 ай бұрын
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!
@laptoplivegaming
@laptoplivegaming 6 ай бұрын
Thanks! great video. Keep it up and thanks for continuing uploading videos
@MarkConstable
@MarkConstable 6 ай бұрын
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 6 ай бұрын
These lxc containers are docker containers with a single application installed.
@GreatTaiwan
@GreatTaiwan 6 ай бұрын
why is docker (let's say container) free a good thing ?
@andreas.grundler
@andreas.grundler 6 ай бұрын
@@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 6 ай бұрын
@@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 6 ай бұрын
@@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.
@davidlakes5087
@davidlakes5087 5 ай бұрын
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!
@H0mework
@H0mework 6 ай бұрын
Best of luck to you! You've been super helpful you shouldn't be going though this.
@geesharp6637
@geesharp6637 6 ай бұрын
Oh wow. I didn't know about data center storage. I was going to do this manually. Life saver.
@BrianThomas
@BrianThomas 6 ай бұрын
Nasty NAS. Nasty backup, simple sweet and stupidly hilarious I love it
@fedefede843
@fedefede843 5 ай бұрын
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 4 ай бұрын
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
@mikekane9734
@mikekane9734 6 ай бұрын
Thanks man! As as usual tons of love and support
@somegeek7126
@somegeek7126 6 ай бұрын
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.
@raspi_dude
@raspi_dude 6 ай бұрын
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
@ronm6585
@ronm6585 6 ай бұрын
Thanks Don.
@itznolimitz
@itznolimitz 6 ай бұрын
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!
@Zedris
@Zedris 6 ай бұрын
one of the best channels on youtbe
@MarkConstable
@MarkConstable 6 ай бұрын
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 6 ай бұрын
yup i have so many things on ice, like you said
@JohnPMiller
@JohnPMiller 6 ай бұрын
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!
@mehedyamin
@mehedyamin 6 ай бұрын
Wishing you the best! 🙏
@DavidDavisL
@DavidDavisL 6 ай бұрын
Nice approach and a great plan. Wishing you the best as you continue forward.
@johncnorris
@johncnorris 6 ай бұрын
Looks promising!
@EdoardoPiccolotto
@EdoardoPiccolotto 6 ай бұрын
Great content! I was looking for something like that!!!! Keep going, be strong!
@karloa7194
@karloa7194 6 ай бұрын
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.
@philbudgen5090
@philbudgen5090 6 ай бұрын
Wishing you a quick recovery.
@altaresification
@altaresification 6 ай бұрын
Extremely clever, you've convinced me to migrate too. Take it easy Don!
@nitramdmij
@nitramdmij 6 ай бұрын
Thanks, Don! Stay strong!
@MohamedBelgaiedHassine
@MohamedBelgaiedHassine 6 ай бұрын
Thanks for continuing to do all this hard work and giving us so much value ! ❤
@accordxtc319
@accordxtc319 6 ай бұрын
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
@rotu41
@rotu41 6 ай бұрын
Thanks Don. More LXC goodness. I'm running a win 11 LXC but encountered some weird issues regarding graphics drivers and mounting volumes.
@cgaquikkie
@cgaquikkie 4 ай бұрын
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.
@yot3605
@yot3605 6 ай бұрын
Get well soon Don, god bless you
@adifoto6362
@adifoto6362 6 ай бұрын
perfect exact what i was about to search for. works like a charm with jellyfin
@bluesquadron593
@bluesquadron593 6 ай бұрын
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.
@perveziqbal2333
@perveziqbal2333 6 ай бұрын
Thanks
@bestofweb1011
@bestofweb1011 6 ай бұрын
Just thank you ❤️
@luisalcarazleal
@luisalcarazleal 6 ай бұрын
I’m now trying to move unraid apps to proxmox containers running dockers separated by topic and it’s hard. Thanks for the video.
@itznolimitz
@itznolimitz 6 ай бұрын
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
@codefallacy
@codefallacy 5 ай бұрын
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
@RenpySage
@RenpySage 6 ай бұрын
Get well soon Don
@jgz2
@jgz2 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
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.
@heaton922
@heaton922 6 ай бұрын
Thanks Don, god bless you
@alfarahat
@alfarahat 6 ай бұрын
Perfect as usual man
@Dalius1000
@Dalius1000 6 ай бұрын
Thank You your videos so simple and concentrated at a same point. Easy to folow. And always with a so good wibe
@geogmz8277
@geogmz8277 6 ай бұрын
Dropping like and comment.
@davidpower3102
@davidpower3102 6 ай бұрын
Great content. I am learning a good bit from your work here. Thank you.
@critcritter8069
@critcritter8069 6 ай бұрын
Like and comment for the algo, prayers for your health
@traxeonic3600
@traxeonic3600 6 ай бұрын
Strength and best wishes. Appreciate the video content too.
@geesharp6637
@geesharp6637 6 ай бұрын
BTW, you can run docked in LXC. I transferred some of my portainer setup that way.
@donkey3077
@donkey3077 6 ай бұрын
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 6 ай бұрын
I also think so. I'm using watchtower container to keep everything updated automatically.
@Elkan1976
@Elkan1976 Ай бұрын
The container is not developed to be updated every week. If You plan to update, You must test before. When you use containers just think "If works, don't touch it" 😅
@TheBupsta
@TheBupsta 6 ай бұрын
Gotta feed that algo! Also, this is great content!
@Linuxxl
@Linuxxl 6 ай бұрын
All the best!
@Champabay
@Champabay 6 ай бұрын
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.
@justyx846
@justyx846 6 ай бұрын
Staying strong!
@paullacatus8975
@paullacatus8975 6 ай бұрын
Thank you Don !
@laptoplivegaming
@laptoplivegaming 6 ай бұрын
Great video Don!! Keep it up
@100daysofmeh
@100daysofmeh 6 ай бұрын
Oh man top video for the migration.
@dzmelinux7769
@dzmelinux7769 6 ай бұрын
Do you mind sharing how you run the other LXCs through the VPN container?
@NovaspiritTech
@NovaspiritTech 6 ай бұрын
i made a video on it -> kzbin.info/www/bejne/aZ6zk6Wro9Wdps0
@dzmelinux7769
@dzmelinux7769 6 ай бұрын
​@@NovaspiritTechThanks a lot mate, will watch it now 👍
@owNewBlood
@owNewBlood 6 ай бұрын
awesome content, always great to how you get your tools workin
@lungaro
@lungaro 6 ай бұрын
I like docker, but I might give LXC a try. Thanks.
@88fjoe
@88fjoe 6 ай бұрын
Stay strong!
@AlexBraunton
@AlexBraunton 6 ай бұрын
This is cool! I'll give it a go. Thank you
@Ncky
@Ncky Ай бұрын
Do you use that openwrt in lxc as just local firewall for that server or you're using it as main router?
@jameswubbolt7787
@jameswubbolt7787 6 ай бұрын
Wow, great .
@AsafOti
@AsafOti 6 ай бұрын
Thank you for the great video
@swubutu
@swubutu 6 ай бұрын
Thats The Spirit Champ !!
@joemccay9978
@joemccay9978 6 ай бұрын
What was the homepage from!
@NovaspiritTech
@NovaspiritTech 6 ай бұрын
check out my video on the homepage kzbin.info/www/bejne/n6mYommamrmHZ5o
@dertyp1398
@dertyp1398 6 ай бұрын
I watching this one without my Adblocker.
@su1ka
@su1ka 6 ай бұрын
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 6 ай бұрын
ttech has 2 scripts to update lxc containers, my plan is to update all the containers every sunday 12am vai cronjob
@variable_0
@variable_0 6 ай бұрын
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.
@CharlieMartorelli
@CharlieMartorelli 6 ай бұрын
Thanks, great info.
@floriankapfenberger
@floriankapfenberger 6 ай бұрын
My Unraid NAS is called Nasty too :D
@kevinhughes9801
@kevinhughes9801 6 ай бұрын
Excellent vid so useful thanks
@terrorpup
@terrorpup 6 ай бұрын
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 6 ай бұрын
check out my repo pi-hosted.com/
@terrorpup
@terrorpup 5 ай бұрын
@@NovaspiritTech Thanks will do.
@asaone11
@asaone11 5 ай бұрын
Don how are you doing, hang in there buddy.
@sarkycutt9611
@sarkycutt9611 6 ай бұрын
Nice video, thanks 🙏
@FlavioMayrink
@FlavioMayrink 6 ай бұрын
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 6 ай бұрын
helper-scripts.com/ or my video kzbin.info/www/bejne/inubXqKBh9eqoKc
@FlavioMayrink
@FlavioMayrink 6 ай бұрын
@@NovaspiritTech Thank you for that. I subbed now and Won't be missing again :)
@Zedris
@Zedris 6 ай бұрын
don i think a good video would be how to organize lxc/vms in proxmox. from the numbering id's to the naming etc.
@gotelldonn
@gotelldonn 6 ай бұрын
Best of luck to you! 'Calendar' on your homepage is mis-spelled.
@NovaspiritTech
@NovaspiritTech 6 ай бұрын
LOL just noticed that
@Lunolux
@Lunolux 6 ай бұрын
great video, almost every app that i run, is on an lxc thx
@ricjuh
@ricjuh 6 ай бұрын
Thanks!
@tenminutetokyo2643
@tenminutetokyo2643 4 ай бұрын
Awesome.
@TutoDS2014
@TutoDS2014 6 ай бұрын
Any way to have automatic backups? I want to start now in proxmox, but I'm a little bit confuse
@NovaspiritTech
@NovaspiritTech 6 ай бұрын
yes you can setup auto backup to your nas every day or whenever
@TutoDS2014
@TutoDS2014 6 ай бұрын
@@NovaspiritTech So you depends from a separated Nas to handle the files and the backups
@mikedoth
@mikedoth 2 ай бұрын
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.
@SupriyaMondal3
@SupriyaMondal3 5 ай бұрын
very detailed video..
@sullenfps
@sullenfps 6 ай бұрын
don't those script install docker and a docked image all the same?
@andrealves8843
@andrealves8843 6 ай бұрын
Good stuff
@KeithHardy-y1p
@KeithHardy-y1p 6 ай бұрын
Thanks!
@tebskycascars1515
@tebskycascars1515 6 ай бұрын
Thanks dude
@JosephHarry
@JosephHarry 6 ай бұрын
Thanks so cool
@casfren
@casfren 6 ай бұрын
I wonder why proxmox has LXC instead of docker. Hmm
@khalidelgazzar
@khalidelgazzar 5 ай бұрын
A comment for the algorithm.
@jk55.
@jk55. 6 ай бұрын
👍🙂👍
Docker on Proxmox LXC 🚀 Zero Bloat and Pure Performance!
20:53
SmartHomeBeginner
Рет қаралды 62 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,1 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 139 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
HARD_MMA
Рет қаралды 1,9 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
5 Things I Would Do On Fresh Install Of ProxMox
19:30
Novaspirit Tech
Рет қаралды 119 М.
You should be using Proxmox Backup Server
10:38
Techno Tim
Рет қаралды 64 М.
Proxmox 10 tweaks you need to know
9:48
VirtualizationHowto
Рет қаралды 51 М.
Setting Up NAS Server On Proxmox
16:28
Novaspirit Tech
Рет қаралды 101 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 852 М.
LXCs vs VMs - What Was My Rationale?
9:16
DB Tech
Рет қаралды 8 М.
King of Media Automation : ARR Stack For Proxmox
18:30
Novaspirit Tech
Рет қаралды 63 М.
Split A GPU Between Multiple Computers - Proxmox LXC (Unprivileged)
25:59
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,1 МЛН