klay Posted July 14, 2023 Posted July 14, 2023 Using release Armbian_23.5.1_Rpi4b_jammy_current_6.1.29 on a Raspberry Pi 4b. From a clean install: $ sudo apt update $ sudo apt upgrade $ sudo apt install podman $ podman run --rm docker.io/library/hello-world Error: command required for rootless mode with multiple IDs: exec: "newuidmap": executable file not found in $PATH Podman runs fine with sudo, so for now I can use that as a workaround, but it would be nice to run rootless containers for dev environments. There is a related issue on the official podman repo, but the solutions there don't seem to apply to armbian. https://github.com/containers/podman/issues/9271 0 Quote
Igor Posted July 14, 2023 Posted July 14, 2023 Try this https://github.com/containers/podman/issues/2211 0 Quote
klay Posted July 14, 2023 Author Posted July 14, 2023 Thank you Igor, that worked! The complete fix was as simple as: sudo rm -rf ~/.local/share/containers sudo apt install podman uidmap slirp4netns and now I can run rootless containers with podman! 0 Quote
Igor Posted July 14, 2023 Posted July 14, 2023 46 minutes ago, klay said: and now I can run rootless containers with podman! Great! I think uidmap package can probably be added to the default package base. Contribution should be trivial: https://github.com/armbian/build/tree/main/config/cli (need to be checked if exists everywhere - probably it does) https://docs.armbian.com/Process_Contribute/ 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.