Has anyone tried podman 5 (RC)?


I’ve recently tried the podman 5 release candidate and one of my main issue is that pasta seems now the default networking provider.

Here is the current behavior for the latest podman 5 release cadidate (RC5) under Nixos through an overlay:

❯ podman run --rm -it ubuntu
Error: could not find pasta, the network namespace can't be configured: exec: "pasta": executable file not found in $PATH

❯ podman run --rm -it --network=slirp4netns ubuntu

Here is the overlay:

final: prev: {
  podman = prev.podman.overrideAttrs (old: {
    patches = [];
    src = prev.fetchFromGitHub {
      owner = "containers";
      repo = "podman";
      rev = "v5.0.0-rc5";
      hash = "sha256-H62JODwPLm6MDF+So47QgFWOfcOz+xgrsZvLoT2u0aw=";
    version = "5.0.0-rc5";

There is currently a PR for adding pasta to nixpkgs (init: passt at 2023_11_10 by 8aed · Pull Request #265409 · NixOS/nixpkgs · GitHub) but it seems stalled since November 2023.

Has anyone else given a try at this?
(I guess at least the maintainers of the podman package…)

if you end up testing passt from that PR with podman and have success that would be really beneficial… you could post your results to that PR and would be good motivation to merge

please let us know how it goes

Done ! :slight_smile:

❯ podman version
Client:       Podman Engine
Version:      5.0.0-rc4
API Version:  5.0.0-rc4
Go Version:   go1.21.7
Built:        Tue Jan  1 01:00:00 1980
OS/Arch:      linux/amd64

❯ pasta --version
Can't run AVX2 build, using non-AVX2 version: No such file or directory
pasta unknown version
Copyright Red Hat
GNU General Public License, version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

❯ podman run --rm -it ubuntu bash -c "echo 'IT WORKS'"

The result of pasta --version is strange though.
I should also test the network layer.

you should comment in the PR and see if the author is interested in continuing the work - maybe they can fix the version issue :smile:

1 Like