running podman from do_install


glmeocci@...
 

Is it possibile to run podman (3.0.1) from a do_install task?
I am trying to install a podman store of a container directly in the final image but I'm getting this error:

+ /usr/bin/podman --root /home/user/poky/build/tmp-glibc/work/cortexa57-os-linux/app/0.36.0-r0/container-storage pull REPO_URL

Error: cannot setup namespace using newuidmap: exit status 1

With podman 4.1 I'm getting this error:
cannot setresgid: Invalid argument

Any idea?