News for hackers. Stuff that matters.
Re:Fly To Podman: a script that will help you to migrate fro... by lbhdc on Friday February 21, 2025 @10:22AM (#43128459)
Last year I transitioned all of my personal projects to use podman. The biggest surface area was converting CI to use podman to build my docker files, but also changed out tooling to use it (like having kind use it instead of docker).

For the most part this worked without issue. The only snag I ran into was my CI provider can't use oci formatted images. Podman lets you select the format of image to build, so I was able to work around this using the `--format=docker` flag.

Re:Fly To Podman: a script that will help you to migrate fro... by codelion on Friday February 21, 2025 @10:23AM (#43128482)
That's a pretty cool migration story! I've been meaning to give podman a more serious look. The OCI image format issue is good to know about – hadn't considered that compatibility angle. I'm curious, did you notice any performance differences in your CI builds after switching?
Re:Fly To Podman: a script that will help you to migrate fro... by lbhdc on Friday February 21, 2025 @10:57AM (#43128979)
Its been a while, so all my telemetry has since expired, but there was no meaningful difference in time.

I was prepared to roll it all back, but I never ended up running into problems with it. It's just something that happens in the background that I don't have to think about.

Re:Fly To Podman: a script that will help you to migrate fro... by jmholla on Saturday February 22, 2025 @02:00PM (#43141946)
Yea, I was under the impression docker uses OCI containers these days and not their own custom definition. But I may be ill-informed.
Re:Fly To Podman: a script that will help you to migrate fro... by mariusor on Friday February 21, 2025 @12:28PM (#43130327)
Same here. I migrated maybe 5-6 projects from docker to buildah and podman about 2 years ago and never looked back.

Unlike other posts I've seen around I haven't really encountered issues with CI or local handling of images - though I am using the most bare bones of CI, SourceHut. And I actually feel better about using shell scripts for building the images to a Dockerfile.

Re:Fly To Podman: a script that will help you to migrate fro... by lbhdc on Friday February 21, 2025 @01:04PM (#43130788)
Oh hey! I have used your activity pub library, it's very nice :)
Re:Fly To Podman: a script that will help you to migrate fro... by mariusor on Saturday February 22, 2025 @03:49AM (#43137348)
Thank you. :) I'm still working on it, dare I say it maybe even getting closer to a stable release.
Re:Fly To Podman: a script that will help you to migrate fro... by mikedelfino on Friday February 21, 2025 @02:19PM (#43131714)
Are you pulling base images from Docker Hub, or do you build all images from source from scratch?
Re:Fly To Podman: a script that will help you to migrate fro... by lbhdc on Friday February 21, 2025 @03:03PM (#43132264)
I am pulling from a few registries, but trying to move everything to a private registry.

In podman, you have to use the "full path" to work with docker hub. Eg `docker.io/library/nginx`.

Re:Fly To Podman: a script that will help you to migrate fro... by LEARAX on Friday February 21, 2025 @07:41PM (#43134888)
I would love to know more details about your CI setup. I'm running all of my self-hosted services as Quadlets (which I generally really love!) and CI (using Gitea) was/is a huge pain point.
Re:Fly To Podman: a script that will help you to migrate fro... by lbhdc on Saturday February 22, 2025 @08:25AM (#43138783)
I have a simple setup on GCP. I am using Cloud Build with the companion Github app to trigger builds on branch updates.

I like it because I am deploying to GCP, and storing containers in Artifact Registry. Cloud Build has good interop with those other products and terraform, so its pretty convenient to live with.

The pipelines themselves are pretty straight forward. Each step gets an image that it is executed in, and you can do anything you want in that step. There is some state sharing between steps, so if you build something in one step, you can use it in another.

Re:Fly To Podman: a script that will help you to migrate fro... by qudat on Saturday February 22, 2025 @10:59AM (#43140097)
I do a lot of self hosting as well and relegated to git post receive hook that sends events through https://pipe.pico.sh and then have a script that listens on that topic and builds what I need.