this post was submitted on 08 Dec 2024
21 points (83.9% liked)

Selfhosted

40734 readers
587 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hello, have setup my proxmox server since some weeks recently I found that LXC containers could be useful as it really separate all my services in differents containers. Since then I figured out to move my docker's services from a vm into several LXC containers. I ran into some issues, the first one is that a lot of projects run smoother in docker and doesn't really have a "normal" way of being package... The second thing is related to the first one, since they are not really well implemented into the OS how can I make the updates?
So I wonder how people are deploying their stuffs on LXC proxmox's containers?
Thanks for your help!

EDIT : Tried to install docker upon debian LXC but the performances were absolutely terrible...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -2 points 2 weeks ago (2 children)

I tried docker directly on LXCs. Don't do it man. It's brittle, it barely works, and every proxmox update it will cause things to break. It takes forever to get working because you're disabling things that should not be disabled, and it will only get harder.

I spent years trying to make what you're talking about work well, and it never did.

Just install a VM and run docker in there. If you really want to make docker containers more generic, then really you may be ready to go full kubernetes.

[–] [email protected] 6 points 2 weeks ago

I have the opposite experience of this. All of my local services are a single docker container inside an LXC. I don't like that it's conceptually messy, but in practice it's easy to manage. What I love about it is the simplicity of backing up or moving the entire LXC between servers.

I've not had any drama with things breaking across Proxmox updates. The only non-gui thing I need to do during the process is adding two lines to the LXC conf to have Tailscale work correctly.

[–] [email protected] 1 points 2 weeks ago

Got performance issues. Tried with Debian and alpine nothing worked. Wouldn't recommend docker on lxc