-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not start container: com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"cause":"OCI runtime attempted to invoke a command that was not found"} #352
Comments
Hi @@cmoulliard Thank you for your input! I'm not really certain on when/if I'll be able to investigate this issue since I'm not running podman. Maybe you or somebody from the community running podman has time to investigate? |
As the command to create a kind cluster works using podman rootless on mac where a Fedora CoreOS VM is created using AppleHV how could we compare the command executed to create a container using TestContainer vs what |
I created a gist containing the information about a kind container created successfully using the command https://gist.github.com/cmoulliard/37e881b5b30177b90eb1e745d9097963#kind-container |
This comment has been minimized.
This comment has been minimized.
Can we set the flag
as I found this error within the journal
The reason why that works with and they create such YAML files
|
I resolved the issue. Here are the steps
|
…rootless to work when we create a kind cluster. dajudge#352 Signed-off-by: cmoulliard <[email protected]>
* Enable kubelet feature gates: KubeletInUserNamespace to allow podman rootless to work when we create a kind cluster. #352 Signed-off-by: cmoulliard <[email protected]> * Move the kind declaration under the apiVersion for kubelet Signed-off-by: cmoulliard <[email protected]> --------- Signed-off-by: cmoulliard <[email protected]>
The error reported part of this issue is not related to the PR which has been merged and was related to the fact that a wrong version of crun was used by podman. That happens when you use the ubuntu runner on GitHub which proposes by default podman 4 and you installed also podman 5 with the help of homebrew. Remove podman's crun of podman 3 The PR addresses the permission denied error reported by kubelet (running as root) in a rootless environment and fixed by the PR ! |
Issue
The kind container fails to start using podman rootless - version:
5.3.1
Steps to reproduce
git clone https://github.com/ch007m/quarkus-kind-testcontainer.git
I can create a kind cluster on the same VM using podman
The text was updated successfully, but these errors were encountered: