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

Selfhosted

40329 readers
593 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
 

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
[–] Nibodhika@lemmy.world 6 points 8 months ago (3 children)

Docker, there are more resources for it and once you know it Podman should be an easy migration if you want to. Also I'm not sure about your claim that Podman is more FOSS than docker, it's "better" because it doesn't run as root, but other than that I don't know of any advantages to it that are not a derivation of "it runs as a regular user".

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

Also I’m not sure about your claim that Podman is more FOSS than docker

The issue with Docker isn't the core product itself, is the ecosystem, it's the DockerHub, Kubernetes etc.

[–] Nibodhika@lemmy.world 2 points 8 months ago (1 children)

So if someone made a non-foss frontend for Podman that would somehow make Podman less FOSS? Or of they started working with Podman? You don't need to use any of those other products, and it's not correct to say that docker is less FOSS because people have written proprietary software that uses it.

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

I see your point and would usually think the same way / agree with it, however the issue with Docker is that you're kind of forced and coerced into using those proprietary solutions around it. It also pushed people into a situation where it's really hard to not depend on constant internet services to use it.

[–] Nibodhika@lemmy.world 2 points 8 months ago (1 children)

I'm not sure what you're talking about. Most people self-hosting don't need anything special, just a docker compose file. What proprietary software do you think is needed that's not needed for Podman?

[–] TCB13@lemmy.world 2 points 8 months ago

I’m not sure what you’re talking about. Most people self-hosting don’t need anything special, just a docker compose file

Yes, and they proceed to pull their software from DockerHub (closed and sometimes decides to delete things) and most of them lack the basic Linux knowledge to do it in any other way. This is a real problem.

[–] lemmyingly@lemm.ee 3 points 8 months ago

On the same machine I have Docker running as root and not as root. I choose which version, root-ful/root-less depending on what the container needs to do.

I think the only advantage is that Podman runs as root-less out of the box, where with Docker you have to do a few extra steps once it's installed.

[–] Kalcifer@sh.itjust.works 1 points 8 months ago

Podman is [...] “better” because it doesn’t run as root, but other than that I don’t know of any advantages to it that are not a derivation of “it runs as a regular user”.

Podman can run in rootless mode (with some caveats), but it is still able to run as root — it doesn't only have the capability to run as a "regular user".