My Lemmy Box
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected]English • 2 years ago

Docker vs Podman, which one to choose for a beginner and why ?

message-square
39
fedilink
36
message-square

Docker vs Podman, which one to choose for a beginner and why ?

@[email protected] to [email protected]English • 2 years ago
message-square
39
fedilink
  • qaz
    link
    fedilink
    English
    3•
    edit-2
    2 years ago

    How do you automatically start podman containers? I currently just manually add systemd entries but that’s a lot more cumbersome than Docker which doesn’t require you to do anything at all.

    • @[email protected]
      link
      fedilink
      English
      4•2 years ago

      Check out: https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html

    • lemmyvore
      link
      fedilink
      English
      2•2 years ago

      That’s how you do it, you have to write systemd config files for each container. And because it was cumbersome they’ve come up with third party tools that write them for you and launch the container. 😉

    • @[email protected]
      link
      fedilink
      English
      1•2 years ago

      https://www.redhat.com/sysadmin/quadlet-podman

    • @[email protected]
      link
      fedilink
      English
      1•2 years ago

      I use Quadlet, which is now merged in podman. The only issue I had with it is running system systemd services as other (rootless) users, I can’t get it to create cid files that the users can access. In those cases only, I have to modify the generated services files, which defeats the purpose.

[email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

  • awesome-selfhosted software
  • awesome-sysadmin resources
  • Self-Hosted Podcast from Jupiter Broadcasting

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 2 users / day
  • 2 users / week
  • 2 users / month
  • 2 users / 6 months
  • 0 subscribers
  • 1.4K Posts
  • 22.7K Comments
  • Modlog
  • mods:
  • Ruud
  • Loki
  • @[email protected]
  • devve
  • @[email protected]
  • @[email protected]
  • @[email protected]
  • BE: 0.18.4
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org