Moving My Dockers to Proxmox LXC Containers

  Рет қаралды 28,191

Novaspirit Tech

Novaspirit Tech

Күн бұрын

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 ай бұрын
A comment for the algorithm, and for healing, beep boop!
@romayojr
@romayojr 4 ай бұрын
you're the goat
@ZoranTech
@ZoranTech 4 ай бұрын
Same :)
@kmi3c
@kmi3c 4 ай бұрын
Beep! ;)
@Hartley94
@Hartley94 4 ай бұрын
💯
@NovaspiritTech
@NovaspiritTech 4 ай бұрын
thanksss!
@choahjinhuay
@choahjinhuay 4 ай бұрын
Hope that you continue to heal Don!
@NovaspiritTech
@NovaspiritTech 4 ай бұрын
thanks
@goatwhoroams
@goatwhoroams 4 ай бұрын
Thanks for everything Don!
@frankfu1122
@frankfu1122 4 ай бұрын
Keeping healing, keep posting! Love it!
@davidpower3102
@davidpower3102 4 ай бұрын
Keep on kicking butt! 💚
@donaldhoudek2889
@donaldhoudek2889 4 ай бұрын
{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!
@laptoplivegaming
@laptoplivegaming 4 ай бұрын
Thanks! great video. Keep it up and thanks for continuing uploading videos
@loomoo500
@loomoo500 4 ай бұрын
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 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!
@ewenchan1239
@ewenchan1239 4 ай бұрын
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.
@MarkConstable
@MarkConstable 4 ай бұрын
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 ай бұрын
These lxc containers are docker containers with a single application installed.
@GreatTaiwan
@GreatTaiwan 4 ай бұрын
why is docker (let's say container) free a good thing ?
@andreas.grundler
@andreas.grundler 4 ай бұрын
@@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 ай бұрын
@@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.
@ISBayHudson
@ISBayHudson 4 ай бұрын
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
@H0mework
@H0mework 4 ай бұрын
Best of luck to you! You've been super helpful you shouldn't be going though this.
@raspi_dude
@raspi_dude 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
@ronm6585
@ronm6585 4 ай бұрын
Thanks Don.
@DavidDavisL
@DavidDavisL 4 ай бұрын
Nice approach and a great plan. Wishing you the best as you continue forward.
@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!
@EdoardoPiccolotto
@EdoardoPiccolotto 4 ай бұрын
Great content! I was looking for something like that!!!! Keep going, be strong!
@mikekane9734
@mikekane9734 4 ай бұрын
Thanks man! As as usual tons of love and support
@geesharp6637
@geesharp6637 4 ай бұрын
Oh wow. I didn't know about data center storage. I was going to do this manually. Life saver.
@mehedyamin
@mehedyamin 4 ай бұрын
Wishing you the best! 🙏
@fedefede843
@fedefede843 4 ай бұрын
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 3 ай бұрын
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
@BrianThomas
@BrianThomas 4 ай бұрын
Nasty NAS. Nasty backup, simple sweet and stupidly hilarious I love it
@cgaquikkie
@cgaquikkie 3 ай бұрын
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.
@nitramdmij
@nitramdmij 4 ай бұрын
Thanks, Don! Stay strong!
@bestofweb1011
@bestofweb1011 4 ай бұрын
Just thank you ❤️
@perveziqbal2333
@perveziqbal2333 4 ай бұрын
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.
@altaresification
@altaresification 4 ай бұрын
Extremely clever, you've convinced me to migrate too. Take it easy Don!
@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.
@JohnPMiller
@JohnPMiller 4 ай бұрын
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!
@MohamedBelgaiedHassine
@MohamedBelgaiedHassine 4 ай бұрын
Thanks for continuing to do all this hard work and giving us so much value ! ❤
@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
@MarkConstable
@MarkConstable 4 ай бұрын
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 ай бұрын
yup i have so many things on ice, like you said
@davidpower3102
@davidpower3102 4 ай бұрын
Great content. I am learning a good bit from your work here. Thank you.
@adifoto6362
@adifoto6362 4 ай бұрын
perfect exact what i was about to search for. works like a charm with jellyfin
@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!
@philbudgen5090
@philbudgen5090 4 ай бұрын
Wishing you a quick recovery.
@johncnorris
@johncnorris 4 ай бұрын
Looks promising!
@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
@heaton922
@heaton922 4 ай бұрын
Thanks Don, god bless you
@TheBupsta
@TheBupsta 4 ай бұрын
Gotta feed that algo! Also, this is great content!
@itznolimitz
@itznolimitz 4 ай бұрын
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
@Zedris
@Zedris 4 ай бұрын
one of the best channels on youtbe
@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
@Arch-Propagandist-Sage
@Arch-Propagandist-Sage 4 ай бұрын
Get well soon Don
@paullacatus8975
@paullacatus8975 4 ай бұрын
Thank you Don !
@alfarahat
@alfarahat 4 ай бұрын
Perfect as usual man
@bluesquadron593
@bluesquadron593 4 ай бұрын
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.
@karloa7194
@karloa7194 4 ай бұрын
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.
@luisalcarazleal
@luisalcarazleal 4 ай бұрын
I’m now trying to move unraid apps to proxmox containers running dockers separated by topic and it’s hard. Thanks for the video.
@critcritter8069
@critcritter8069 4 ай бұрын
Like and comment for the algo, prayers for your health
@owNewBlood
@owNewBlood 4 ай бұрын
awesome content, always great to how you get your tools workin
@geogmz8277
@geogmz8277 4 ай бұрын
Dropping like and comment.
@yot3605
@yot3605 4 ай бұрын
Get well soon Don, god bless you
@geesharp6637
@geesharp6637 4 ай бұрын
BTW, you can run docked in LXC. I transferred some of my portainer setup that way.
@jgz2
@jgz2 4 ай бұрын
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 ай бұрын
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 ай бұрын
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.
@Ncky
@Ncky 8 күн бұрын
Do you use that openwrt in lxc as just local firewall for that server or you're using it as main router?
@traxeonic3600
@traxeonic3600 4 ай бұрын
Strength and best wishes. Appreciate the video content too.
@lungaro
@lungaro 4 ай бұрын
I like docker, but I might give LXC a try. Thanks.
@donkey3077
@donkey3077 4 ай бұрын
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.
@Elkan1976
@Elkan1976 12 күн бұрын
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" 😅
@laptoplivegaming
@laptoplivegaming 4 ай бұрын
Great video Don!! Keep it up
@justyx846
@justyx846 4 ай бұрын
Staying strong!
@Champabay
@Champabay 4 ай бұрын
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.
@Linuxxl
@Linuxxl 4 ай бұрын
All the best!
@100daysofmeh
@100daysofmeh 4 ай бұрын
Oh man top video for the migration.
@dertyp1398
@dertyp1398 4 ай бұрын
I watching this one without my Adblocker.
@floriankapfenberger
@floriankapfenberger 4 ай бұрын
My Unraid NAS is called Nasty too :D
@jameswubbolt7787
@jameswubbolt7787 4 ай бұрын
Wow, great .
@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 ай бұрын
check out my repo pi-hosted.com/
@terrorpup
@terrorpup 4 ай бұрын
@@NovaspiritTech Thanks will do.
@gotelldonn
@gotelldonn 4 ай бұрын
Best of luck to you! 'Calendar' on your homepage is mis-spelled.
@NovaspiritTech
@NovaspiritTech 4 ай бұрын
LOL just noticed that
@dzmelinux7769
@dzmelinux7769 4 ай бұрын
Do you mind sharing how you run the other LXCs through the VPN container?
@NovaspiritTech
@NovaspiritTech 4 ай бұрын
i made a video on it -> kzbin.info/www/bejne/aZ6zk6Wro9Wdps0
@dzmelinux7769
@dzmelinux7769 4 ай бұрын
​@@NovaspiritTechThanks a lot mate, will watch it now 👍
@swubutu
@swubutu 4 ай бұрын
Thats The Spirit Champ !!
@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.
@88fjoe
@88fjoe 4 ай бұрын
Stay strong!
@CharlieMartorelli
@CharlieMartorelli 4 ай бұрын
Thanks, great info.
@su1ka
@su1ka 4 ай бұрын
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 ай бұрын
ttech has 2 scripts to update lxc containers, my plan is to update all the containers every sunday 12am vai cronjob
@AsafOti
@AsafOti 4 ай бұрын
Thank you for the great video
@kevinhughes9801
@kevinhughes9801 4 ай бұрын
Excellent vid so useful thanks
@AlexBraunton
@AlexBraunton 4 ай бұрын
This is cool! I'll give it a go. Thank you
@ricjuh
@ricjuh 4 ай бұрын
Thanks!
@sarkycutt9611
@sarkycutt9611 4 ай бұрын
Nice video, thanks 🙏
@Lunolux
@Lunolux 4 ай бұрын
great video, almost every app that i run, is on an lxc thx
@tenminutetokyo2643
@tenminutetokyo2643 3 ай бұрын
Awesome.
@asaone11
@asaone11 4 ай бұрын
Don how are you doing, hang in there buddy.
@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 ай бұрын
helper-scripts.com/ or my video kzbin.info/www/bejne/inubXqKBh9eqoKc
@FlavioMayrink
@FlavioMayrink 4 ай бұрын
@@NovaspiritTech Thank you for that. I subbed now and Won't be missing again :)
@Zedris
@Zedris 4 ай бұрын
don i think a good video would be how to organize lxc/vms in proxmox. from the numbering id's to the naming etc.
@KeithHardy-y1p
@KeithHardy-y1p 4 ай бұрын
Thanks!
@joemccay9978
@joemccay9978 4 ай бұрын
What was the homepage from!
@NovaspiritTech
@NovaspiritTech 4 ай бұрын
check out my video on the homepage kzbin.info/www/bejne/n6mYommamrmHZ5o
@SupriyaMondal3
@SupriyaMondal3 4 ай бұрын
very detailed video..
@andrealves8843
@andrealves8843 4 ай бұрын
Good stuff
@tebskycascars1515
@tebskycascars1515 4 ай бұрын
Thanks dude
@JosephHarry
@JosephHarry 4 ай бұрын
Thanks so cool
@mikedoth
@mikedoth Ай бұрын
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.
@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
@jk55.
@jk55. 4 ай бұрын
👍🙂👍
@sullenfps
@sullenfps 4 ай бұрын
don't those script install docker and a docked image all the same?
@PonM-e3e
@PonM-e3e 24 күн бұрын
@khalidelgazzar
@khalidelgazzar 4 ай бұрын
A comment for the algorithm.
Split A GPU Between Multiple Computers - Proxmox LXC (Unprivileged)
25:59
5 Things I Would Do On Fresh Install Of ProxMox
19:30
Novaspirit Tech
Рет қаралды 111 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 77 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
Docker on Proxmox LXC 🚀 Zero Bloat and Pure Performance!
20:53
SmartHomeBeginner
Рет қаралды 53 М.
Setting Up NAS Server On Proxmox
16:28
Novaspirit Tech
Рет қаралды 95 М.
The PERFECT Desktop Homelab Server!
16:45
Craft Computing
Рет қаралды 100 М.
Как собрать мощный домашний сервер
32:45
Mikhail Mikhaylov
Рет қаралды 81 М.
You should be using Proxmox Backup Server
10:38
Techno Tim
Рет қаралды 47 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
Building My New DIY Storage Server! (2024)
19:36
Tech By Matt
Рет қаралды 57 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН