this post was submitted on 13 Dec 2023
234 points (98.0% liked)

Selfhosted

40736 readers
425 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'm a retired Unix admin. It was my job from the early '90s until the mid '10s. I've kept somewhat current ever since by running various machines at home. So far I've managed to avoid using Docker at home even though I have a decent understanding of how it works - I stopped being a sysadmin in the mid '10s, I still worked for a technology company and did plenty of "interesting" reading and training.

It seems that more and more stuff that I want to run at home is being delivered as Docker-first and I have to really go out of my way to find a non-Docker install.

I'm thinking it's no longer a fad and I should invest some time getting comfortable with it?

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

Concur, podman doesn't (have to) have root, and has autoupdate and podman-compose to use docker files. Containers are cool, Docker less so.

[–] [email protected] 2 points 1 year ago (1 children)

My biggest issue with podman is that podman-compose isn't officially recommended or supported, and the alternatives (kubernetes YAML and Quadlet) kind of suck compared to using a compose file. It makes me way to pour a bunch lf work into switching to using podman-compose. I have no clue why they didn't just use the compose spec for their official orchestration method.

[–] [email protected] 1 points 1 year ago (1 children)

once the containers are running after podman-compose you can use podman-generate-systemd to create a systemd services. Helped me move a rather large compose file to a bunch of services. My notes weren't the best, sorry, but that's the gist.It got me moved. I've now moved on to .container files for new stuff, which generates them on the fly. Need to move my old services over, but they work and who's got the time...

[–] [email protected] 1 points 1 year ago (1 children)

How do you like the .container files? I hate the idea of having different files for each container, and each volume. They also don't even support pods and the syntax is just terrible compared to YAML.

[–] [email protected] 1 points 1 year ago (1 children)

Not sure yet, agree it's not as nice to look at as YAML, but at least it's prettier than the alternative systemd.service implementation, and it's been rock solid so far. Time will tell, I'm sure pods will come and it seems to be what redhat sees as their direction. A method for automatically generating them from docker YAML (and hopefully vice-versa) would go a looong way towards speeding adoption.

[–] [email protected] 1 points 1 year ago (1 children)

How do you feel about having to specify a different file for all of your containers and volumes? Has that annoyed you at all? I agree that pods are really nice, and they should give you a way to generate them from compose YAML.

[–] [email protected] 2 points 1 year ago

How do you feel about having to specify a different file for all of your containers and volumes?

I have made my peace, it's the price of not giving docker root. I just open a Kate session and it's all there, nicely broken into sections.