I run docker inside unprivileged LXCs, some don't like it because is nested virtualization. But if you understand just enough of networking and docker, you can combine the best features of both platforms most of the times.
Nested virtualization is the best part of proxmox. When i got comfortable with the idea of nesting the proxmox backup server, its strait forward enough to spin up a new proxmox host, using the community scripts, mount the backup store on my NAS again and just restor the lot. This also means my unprivileged lxc is always backup, and i can do file level restores, with all my big data stored ont he nas.
It is not actually virtualisation in the true sense of the word. LXC and Docker both use namespaces to isolate the individual containers from their environment. Nested namespaces should not be a problem.
I've found doing this quite useful too. You have the simplicity of setting up your app with a docker compose file, but it gets its own networking / ip address because of the LXC container. Less port conflicts, you can backup the container, etc.
In the recent months I started building my homelab and most of the reviews were using docker, so i started with it. Last days I migrated everything to Proxmox. The only issue I had was sharing storage between unprivileged lxc, so I just went with privileged. If you can make a video about accessing samba shares from an unprivileged container without doing 1000 things will be awesome :)
I had a fairly robust homelab setup a few years ago and the server that it was all running on died recently. I haven't taken the time to set everything back up yet, and I go back and forth in my head weekly about whether I should try to commit more to Docker and Portainer or LXC's. My previous setup was all Docker containers running on Unraid, but I wanted to actually LEARN about Docker because I think Unraid makes it TOO easy for a technical person to implement.
The purpose of docker is to be able to maintain at scale. Lxc’s are great for small labs but not great for production servers unless you plan to go into ea container and update everything manually.
@@BarmineTech this would make a good video. and maybe a video on making your own helper script. this is probably the biggest thing holding be back from leaving docker, we besides just having docker in every development app.
@@BarmineTech I would like to point out that script only updates the lxc hosts. You need to run each of the update scripts from the lxcs to update the actual service.
Cool I have been doing this for a while. Those helper scripts are awesome, and I've enjoyed your channel and my home network has grown with your home network period I absolutely love the proxmox backup server compression and saving your cluster. It is beautiful
Great vid was looking to do similar but my hold up was passing through storage to my lxc containers. I use docker on nas at moment so all data stored in nas but proxmox where my lxcs would be in mini pc like you. I’d like to have the lxcs store persistent data on the nas but not figured that bit out. Is it something you can do vid on please?
I run docker inside unprivileged LXCs, some don't like it because is nested virtualization. But if you understand just enough of networking and docker, you can combine the best features of both platforms most of the times.
Nested virtualization is the best part of proxmox. When i got comfortable with the idea of nesting the proxmox backup server, its strait forward enough to spin up a new proxmox host, using the community scripts, mount the backup store on my NAS again and just restor the lot.
This also means my unprivileged lxc is always backup, and i can do file level restores, with all my big data stored ont he nas.
It is not actually virtualisation in the true sense of the word. LXC and Docker both use namespaces to isolate the individual containers from their environment. Nested namespaces should not be a problem.
I've found doing this quite useful too. You have the simplicity of setting up your app with a docker compose file, but it gets its own networking / ip address because of the LXC container. Less port conflicts, you can backup the container, etc.
Yup! Docker inside an LXC way to go! Been running this for over two years. No complaints..
In the recent months I started building my homelab and most of the reviews were using docker, so i started with it. Last days I migrated everything to Proxmox.
The only issue I had was sharing storage between unprivileged lxc, so I just went with privileged.
If you can make a video about accessing samba shares from an unprivileged container without doing 1000 things will be awesome :)
Kudos, I have a completely dockerless homelab.
Also, consider setting up ceph on your proxmox VE.
I had a fairly robust homelab setup a few years ago and the server that it was all running on died recently. I haven't taken the time to set everything back up yet, and I go back and forth in my head weekly about whether I should try to commit more to Docker and Portainer or LXC's. My previous setup was all Docker containers running on Unraid, but I wanted to actually LEARN about Docker because I think Unraid makes it TOO easy for a technical person to implement.
I want to put homepage back in LXC, but i need to understand how traefik works correctly. So i can get this running right lol
The purpose of docker is to be able to maintain at scale. Lxc’s are great for small labs but not great for production servers unless you plan to go into ea container and update everything manually.
there’s a script on proxmox helper scripts that either can automate updating all containers or do it when ran
@@BarmineTech this would make a good video. and maybe a video on making your own helper script. this is probably the biggest thing holding be back from leaving docker, we besides just having docker in every development app.
@@BarmineTech I would like to point out that script only updates the lxc hosts. You need to run each of the update scripts from the lxcs to update the actual service.
Cool I have been doing this for a while. Those helper scripts are awesome, and I've enjoyed your channel and my home network has grown with your home network period I absolutely love the proxmox backup server compression and saving your cluster. It is beautiful
Awesome, thank you!
Great vid was looking to do similar but my hold up was passing through storage to my lxc containers. I use docker on nas at moment so all data stored in nas but proxmox where my lxcs would be in mini pc like you. I’d like to have the lxcs store persistent data on the nas but not figured that bit out. Is it something you can do vid on please?
More like "I'm Breaking Up My Docker Server Into Proxmox LXCs....For Better Management and Consolidation".
Good idea. I just did the same recently.
Sounds good
This is a bit of a bait and switch.... But I'll accept it. Like it matters, hehe