this post was submitted on 12 Feb 2024
262 points (99.2% liked)

Selfhosted

40438 readers
472 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
 

I'd expected this but it still sucks.

you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip -1 points 9 months ago (1 children)

LXD is not really usable for anything as it is very slow

[–] TCB13@lemmy.world 1 points 9 months ago* (last edited 9 months ago) (1 children)

LXD uses QEMU/KVM/libvirt for VMs thus the performance is at least the same as any other QEMU solution like Proxmox, the real difference is that LXD has a much smaller footprint, doesn’t depend on 400+ daemons thus boots and runs management operations much faster. The virtualization tech is the same and the virtualization performance is the same.

[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 children)

Maybe I'm just doing it wrong. I've just found LXD to be lacking as you can't live transfer it to a different host. It is also slower than Docker and Podman and I was unable to get docker running in a unprivileged LXC container. I think it should be possible to run docker in LXC but by the time I spend the effort is is more secure and easier to use a full virtual machine.

Maybe I should revisit the idea though as it seems like many people stand by it.

[–] TCB13@lemmy.world 1 points 9 months ago (1 children)

I’ve just found LXD to be lacking as you can’t live transfer it to a different host

It isn't lacking... https://linuxcontainers.org/incus/docs/main/howto/move_instances/#move-instances but as with Proxmox there are details when it comes to containers. VMs can fully migrate live.

I was unable to get docker running in a unprivileged LXC container

What host OS are you running on? Did you set security.nesting true on said container?

[–] possiblylinux127@lemmy.zip 1 points 9 months ago

I probably just set it up wrong.