78
Why docker (feddit.it)

Hi! Question in the title.

I get that its super easy to setup. But its really worthwhile to have something that:

  • runs everything as root (not many well built images with proper useranagement it seems)
  • you cannot really know which stuff is in the images: you must trust who built it
  • lots of mess in the system (mounts, fake networks, rules...)

I always host on bare metal when I can, but sometimes (immich, I look at you!) Seems almost impossible.

I get docker in a work environment, but on self hosted? Is it really worth while? I would like to hear your opinions fellow hosters.

you are viewing a single comment's thread
view the rest of the comments
[-] beta_tester@lemmy.ml 5 points 2 years ago

You can run docker rootless https://docs.docker.com/engine/security/rootless/ but you have to switch to podman some day anyway, althiugh that might be in a far away future.

If you are concerned about root you may be concerned about the docker port dilemma as well, podman solves that as well

[-] Passerby6497@lemmy.world 2 points 2 years ago

but you have to switch to podman some day anyway

Can you elaborate on this?

[-] beta_tester@lemmy.ml 0 points 2 years ago

Unfortunately I do not have a source but to me it was like podman would replace docker as the container technology since red hat focuses on podman and not docker anymore and kubernetes doesn't support docker anymore. Transitioning obviously takes ages because of companies being very slow.

[-] N0x0n@lemmy.ml 1 points 2 years ago

I hope you're wrong... With RH's recent choices in regard of FOSS... I really hope podman won't replace docker. Specially in the self-hosted/FOSS community !

[-] beta_tester@lemmy.ml 1 points 2 years ago

What's wrong with podman?

It's still many many years away. Just think about there being still fortran or assembly code

[-] N0x0n@lemmy.ml 1 points 2 years ago

Probably nothing, I have never tried it... but docker compose feels so comfortable right now and relearn everything... uuhhg !

[-] beta_tester@lemmy.ml 1 points 2 years ago

I had to add :Z to the paths in the docker compose files for selinux.

this post was submitted on 10 Jan 2024
78 points (86.8% liked)

Selfhosted

61953 readers
1041 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS