Live data from Hacker News

Podman 4.4

github.com

41–43 of 43 posts

Re: Podman 4.4

#41
post #26

Ok, I really want to use podman, but the last time I built an image and tried to run it, I ran into a brick wall. I think I used something called buildah to package something, and it had some parameter for a name, but then trying to run it using podman, podman didn't seem to have any way to reference the container image that I THINK buildah created. I think there was also something called spokeo but I don't recall wh…

This works for me on Ubuntu 22.10: $ sudo apt install podman buildah $ mkdir empty && cd empty $ cat > Containerfile /root/hello.sh ENTRYPOINT ["/bin/sh", "/root/hello.sh"] EOF $ buildah build -f Containerfile -t hello-podman . $ podman run -it --rm localhost/hello-podman:latest hello podman! edit: stryan has more minimalist instructions above.

AH, so it must be the localhost/hello-podman:latest was the axle-wrap.

I will now bitch about how everything needs to be converted to some obscure url or pseudo-url when a file path would do. This has bitten me on:

- JSP tag libraries

- XML xsd references (which back in the Spring XML namespace-go-nuts era was really annoying)

- file:///fully/qualified/path

There, I have bitched.

Re: Podman 4.4

#42
post #37

What are the benefits of using podman over docker desktop? I've just got my new M1 macbook and are tempting to try docker desktop alternatives..

I don't know how podman machine compares, but I've found colima [0] to be a much better experience to Docker Desktop on Apple Silicon Macs.

[0] https://github.com/abiosoft/colima

Re: Podman 4.4

#43

Did they sort out rootless networking? I've tried podman twice but simply cannot get networking to work properly when using a docker-compose file.

Since docker-compose is designed to exclusively work with rootful containers (basically the only thing docker supports), it's not a surprise you're having problems trying to run it rootless.

Podman added an optional rootful daemon a few releases ago that you can run in place of/next to the docker daemon that (theoretically) supports all the same docker network functionality specifcally so docker and docker compose commands can be run unchanged on podman.

Post reply on HN