this post was submitted on 22 Mar 2024
61 points (91.8% liked)

Selfhosted

40218 readers
1028 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 1 year ago
MODERATORS
61
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

Hi, I've been thinking for a few days whether I should learn Docker or Podman. I know that Podman is more FOSS and I like it more in theory, but maybe it's better to start with docker, for which there is a lot more tutorials. On the other hand, maybe it's better to straight up learn podman when I don't know any of the two and not having to change habits later. What do you think? For context, I know how containers works in theory, I know some linux I think well, but I never actually used docker nor podman. In another words: If I want to eventually end up with Podman, is it easier to start with docker and then learn Podman, or start with Podman right away? Thanks in advance

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

Do you selfhost stuff on bare metal? I feel like most projects provide containers as their officially supported packages.

[–] [email protected] 2 points 8 months ago (2 children)

They're being useless, but what I do is use Proxmox and just install my stuff each in their own LXC

[–] [email protected] 1 points 8 months ago (1 children)

Same, proxmox + lxc is a gift.

[–] [email protected] -1 points 8 months ago* (last edited 8 months ago)

You're using LXC... so you may want to learn about Incus/LXD that was made by the same people who made LXC, can work as a full replacement for Proxmox in most scenarios. Here a few reasons:

  • It is bellow the Linux Containers project, open-source;
  • Available on Debian 12's repositories;
  • Unlike Proxmox, it won't withhold important fixes on the subscription (payed) repositories;
  • Is way, way lighter;
  • LXC was hacked into Proxmox, they simply removed OpenVZ from their product and added LXC and it won't even be as compatible and smooth as Incus;
  • Also has a WebUI;

Why not try it? :)

[–] [email protected] 0 points 8 months ago

I use distro packages. In the rare case something isn’t packaged yet, I package it myself. And for the isolation, systemd services can do most of the things docker can if you need (check systemd-analyze security).

For just hosting services that can be done instead with normal system services, docker makes your setup a lot more complex (especially on the networking side), for little if any gain. Unless I need to spin up something multiple times temporarily on demand or something has a hard dependency on it, I’m not going to bother with it anymore.