Skip to content
View in the app

A better way to browse. Learn more.

Learn more

podman rootless fails with "newuidmap": executable file not found in $PATH

Featured Replies

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

  • Author

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!

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.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.