this post was submitted on 13 Sep 2024
465 points (99.4% liked)

Technology

58115 readers
4078 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. 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
[–] turkelton@lemmy.world 8 points 5 days ago (3 children)

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

[–] Telodzrum@lemmy.world 7 points 5 days ago

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.

[–] Grass@sh.itjust.works 4 points 4 days ago

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.

[–] mlg@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

I'd say about 99% is the same.

Two notable things that were different were:

  • Podman config file is different which I needed to edit where containers are stored since I have a dedicated location I want to use
  • The preferred method for running Nvidia GPUs in containers is CDI, which imo is much more concise than Docker's Nvidia GPU device setup.

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.