Replies: 4 comments 3 replies
-
Firrst you should change containers.conf in /etc/containers/containers.conf or in the users homedir for rootless mode. The most logical reason this fails is that crun is not installed or the podman command can not find it. Podman looks for crun in the following directories:
If you are running on a Mac or Windows, then the crun must be present in one of those paths within the podman machine or the VM that you are ru nning the podman service in. |
Beta Was this translation helpful? Give feedback.
-
@rhatdan Thank you for your answer. I'm on RHEL 8.6 (Ootpa) and such configuration file only exists under the mentioned path in this issue. Is there a way to install crun as an update package for Podman to resolve this issue or you suggest another workaround? |
Beta Was this translation helpful? Give feedback.
-
@rhatdan And to add, following this guide (https://linux-packages.com/centos-8/package/crunx86-64) to install crun throws the error below: Failed to open log file: /var/log/hawkey.log This happens when executing a sudo dnf update command, does this have to do something with the partition size? 🙂 |
Beta Was this translation helpful? Give feedback.
-
I have no idea. @giuseppe WDYT? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Community,
I am running Podman version 4.6.1 and there is a HTML5 container running. The thing is, when I change the runtime in 'containers.conf' under '/usr/share/containers/' path, podman commands no longer work and I get the error below:
'Error: default OCI runtime "crun" not found: invalid argument'
What could be the possible issue and how am I able to resolve this?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions