this post was submitted on 04 Jul 2023
62 points (97.0% liked)

Selfhosted

40029 readers
1145 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
 

I'm looking to migrate all of my containers to rootless podman but need some advice.

All of my services are currently running docker compose. I've played arount with podman but I am unsure of best practice: I have the option of installing podman-docker, podman-compose, or docker-compose connected to a podman socket. What's the recommended way here?

I also can't seem to find any information on setting up a systemd unit for rootless podman compose. How are you all auto starting podman (compose) files?

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

Podman-compose is a python script that simply converts a compose file to 'podman run'. It worked fine enough for me, but the caveat being it doesn't have full feature parity and the errors aren't as good. The only thing I couldnt get working was connecting my GPU to jellyfin.

Turning conainers into systemd units is easy: 'podman generate systems --new --name $container_name › $HOME/.config/systems/user/$container_name.service' 'systemctl --user enable --now $container_name'

https://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html