60
Docker or podman? (lemmy.world)

I would love to hear everyone's opinion.

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

If docker works for you, then don’t change what’s not broken. If there are things you don’t like about docker (root access etc for example) then venture out and try others. At the end of the day, they’re just tools to get to the more interesting stuff — actually running applications and playing with them.

[-] fmstrat@lemmy.nowsci.com 3 points 2 years ago

Just pointing out your response may be dated. Docker can run rootless: https://docs.docker.com/engine/security/rootless/

[-] chiisana@lemmy.chiisana.net 3 points 2 years ago

Cool. Thanks! One less reason for me to even consider Porman on the radar. Personally, I really don’t care for the tool itself, and am way more interested in the apps that I can run and play with :)

[-] fmstrat@lemmy.nowsci.com 4 points 2 years ago* (last edited 2 years ago)

Agreed. Honesly I use docker like snap these days. Need a specific version of node?

alias node="docker run --rm -ti -v '${PWD}:${PWD}' -w '${PWD}' node:16-alpine"

alias npm="docker run --rm -ti -v '${PWD}:${PWD}' -w '${PWD}' node:16-alpine npm"

Pretty much every CLI tool that isn't super basic to install I do this with.

[-] dandroid@sh.itjust.works 1 points 2 years ago

Wow, that's really clever. And dead simple at the same time.

[-] fmstrat@lemmy.nowsci.com 1 points 2 years ago

Yea, I contribute to a bunch of own source projects, so it makes it easy to jump around without conflicts. Also great for random stuff like youtube-dl, or esphome, etc, that you use once in a while. Just slap the aliases in my bashrc.

this post was submitted on 13 Mar 2024
60 points (100.0% liked)

Selfhosted

60810 readers
612 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