65
Should I bother learning Podman? (lemmy.goblackcat.com)

I am already fairly comfortable using docker and its tool set. Is the tide shifting towards Podman? Should I start learning how to use Podman? Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[-] RandoCalrandian@kbin.social 37 points 1 year ago

I can't help but laugh at this.

"learn how to use podman" from someone who already knows docker is their happy path.

https://docs.podman.io/en/latest/index.html#what-is-podman

Most users can simply alias Docker to Podman (alias docker=podman) without any problems

Seriously, the only two problems i've had are:

  1. makefile doesn't honor the alias
  2. need to restart the VM occasionally

I would consider myself a very beginning docker user so I've a long way to go but I can see, given that I am a beginner, it might make sense to pivot now to Podman.

[-] AbidanYre@lemmy.world 12 points 1 year ago* (last edited 1 year ago)

It might be easier to learn some docker first. That's what all the documentation is written for and I've found the "alias docker to podman and call it a day" approach to be overly optimistic.

[-] RandoCalrandian@kbin.social 8 points 1 year ago

conversely, switching now means he'll be learning domain specific knowledge for podman, the thing he wants to work in, and not building it in docker, the thing he's trying to move away from

[-] AbidanYre@lemmy.world 1 points 1 year ago

That's certainly possible. I'm just saying it may be faster to learn docker and then learn the differences, given the abundance of docker documentation that exists.

[-] dandroid@dandroid.app 6 points 1 year ago

I did need to install some additional stuff to get docker-compose working with podman, and I needed to make sure I ran those things as a user instead of as root to make sure that the containers created by docker-compose were running rootless. But I do have my Lemmy instance running with rootless containers using podman.

My next step is to convert it to a systemd service, but I just haven't got there yet.

[-] erock@lemmy.world 4 points 1 year ago

That’s the claim but buildx is extremely limited on podman.

But is it really a drop-in replacement for docker? Networking seems fundamentally different.

I tried to use a docker compose file for Wordpress as an example, with nginx-proxy-manager in another compose file. They're linked together through an external network.

Podman works differently. You're expected to create 'pods'. I'm not super clear on this (just dipping my toes) but podman seems to be an alternative to k8s, not docker.

this post was submitted on 15 Jul 2023
65 points (94.5% liked)

Linux

48335 readers
1328 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS