On 8/4/22 22:43, None via Podman wrote:
I have set additionalimagestores. The article is
https://www.redhat.com/sysadmin/image-stores-podman.
$ podman images
REPOSITORY TAG IMAGE ID CREATED
SIZE R/O
docker.io/library/centos 7.9.2009 eeb6ee3f44bd 10 months ago
212 MB true
docker.io/library/python 3.8 4544558e07c5 39 hours ago
936 MB false
If I run the image which R/O is true, like the following error.
$ podman run --userns=keep-id eeb6ee3f44bd echo "hello"
Error: runc: runc create failed: unable to start container process: exec:
"echo": executable file not found in $PATH: OCI runtime attempted to invoke a
command that was not found
If run it without --userns=keep-id, it runs right.
$ podman run eeb6ee3f44bd echo "hello"
hello
If run the image which R/O is false, it runs right.
$ podman run --userns=keep-id 4544558e07c5 echo "hello"
hello
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
Giuseppe any ideas?
Any changes you can try this with crun? One difference is
--userns=keep-id runs the container as non-root.
If you run
$ podman run --user root --userns=keep-id eeb6ee3f44bd echo "hello"
Does it work?