Running Bootable ISO as Image gives CRUN OCI Permission Denied #24428
-
Hi Podman Mates, Newbie here. I just wanted to explore Homelab, at the moment I don't have an extra device to allocate for that. So I use a Fedora Workstation VirtualBox on my only Laptop. And I wanted to explore everything containerized using rootless podman. My first try is on TrueNAS Scale. Unfortunately, I am getting an error. What I didFollowing the Tutorial of TechRepublic, I tried to convert a TrueNAS Scale ISO into a Container Image and tried to run it. Unfortunately, I am getting a "Permission Denied" Error. To test I tried the same as root. That also gives me the same error. Anyway I was able to just run alpine linux image. The Commands I usedmkdir rootfs unsquashfs
mount -o loop /home/zakee/Downloads/ISOs/TrueNAS-SCALE-24.04.2.3.iso rootfs
unsquashfs -f -d unsquashfs/ rootfs/live/filesystem.squashfs
tar -C unsquashfs -c . | podman import - truenas/1
podman run -dit truenas/1:latest The Error I GotError: crun: open executable: Operation not permitted: OCI permission denied Podman Version
Please let me know if I am doing anything wrong. If you want any other information please let me know. And also please be kind enough to explain in simple terms. i.e. don't be more technical and be beginner friendly. Thank You for your Time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It looks like there is no command specified in the container image.
The man page has some examples https://docs.podman.io/en/stable/markdown/podman-import.1.html#examples Instead of configuring those instructions in the container image, you could also specify the command directly on the command-line after the imagename: For example
If there is a
to see what's inside. Maybe there is a systemd system manager that needs to be started? Try this to find out
To inspect an image, run
If there would be a |
Beta Was this translation helpful? Give feedback.
It looks like there is no command specified in the container image.
CMD
and/orENTRYPOINT
can be set with the podman import option--change
The man page has some examples
https://docs.podman.io/en/stable/markdown/podman-import.1.html#examples
Instead of configuring those instructions in the container image, you could also specify the command directly on the command-line after the imagename:
For example
If there is a
/bin/sh
in the container, you could open a shell with the commandto see what's inside.
Maybe there is a systemd system manager that need…