this post was submitted on 13 Sep 2024
464 points (99.4% liked)
Technology
59441 readers
3634 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How is the transition from docker to podman? I'm using two compose scripts and like 10 containers each. And portainer to comfortably restart stuff on the fly
I can only provide my experience; it was a drop-in replacement. I have 7 services running and 3 db containers. I was able to migrate using the Podman official instructions without issue.
from what I can gather its currently recommended to use quadlets to generate systemd units to achieve what compose was doing. podman compose is a thing but IIRC I didn't find that was straight drop in and I had to change the syntax or formatting a bit for it to work and from the brief testing I have put in quadlets seems less hassle, but if you use a non systemd distro then I don't know.
I'd say about 99% is the same.
Two notable things that were different were:
The second one is also documented on the CUDA Container Toolkit site, and very easy to edit a compose file to use CDI instead.
There's also some small differences here and there like podman asking for a preferred remote source instead of defaulting to dockerhub.