I’m trying to run a toolbox container from another user but I get
Error: failed to get the Podman version. I may be missing a configuration step.
- Login to user A
- Open a terminal then
su B --login, type in the password.
- Now I’m logged as user B, then run
- I get
Error: failed to get the Podman version
I’ve tried to debug with:
$ toolbox --log-level debug create DEBU Running as real user ID 1000 DEBU Resolved absolute path to the executable as /usr/bin/toolbox DEBU Running on a cgroups v2 host DEBU Checking if /etc/subgid and /etc/subuid have entries for user B DEBU Validating sub-ID file /etc/subuid DEBU Validating sub-ID file /etc/subgid DEBU TOOLBOX_PATH is /usr/bin/toolbox DEBU Migrating to newer Podman DEBU Toolbox config directory is /var/home/ej/.config/toolbox Error: default OCI runtime "crun" not found: invalid argument DEBU Migrating to newer Podman: failed to get the Podman version: failed to invoke podman(1) Error: failed to get the Podman version
I’ve created both users, I simply have different configurations for A and B. I’m trying to push some changes from B to the cloud without needing to logout from A and logging in to B. Any help is greatly appreciated!