-
Notifications
You must be signed in to change notification settings - Fork 509
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
Segmentation fault with --runtime=kata-runtime #135
Comments
I'm not very familiar with Kata, but my recollection is that Kata containers are actually VMs, correct? If so, then it might not be entirely surprising that just copying over a binary onto a separate VM doesn't work. That being said, do you have any debug info here? Can you check what happens if you run the container as privileged (that might not even be a thing for Kata containers ... but below I'll ask you to run
|
Thank you for giving some instruction. A downloaded
I've installed
I've shared
Sharing
Both host and container run debian buster.
kata somehow runs in a qemu VM. I am not experienced with it, too. I am running my first test runs. However, sharing files with For the record:
Command:
|
Looks like you're hitting
My guess is that this issue probably has to do with how mount sharing works with Kata containers. Can you try mout-sharing another binary from your host into your container to compare (e.g.
Separately, can you confirm running the
I think you downloaded the dynamically-linked version and you're comparing the size to the statically-built version |
I have tried
It shows the same
At least it is shared with other containers to use it as init systems. The current output as user:
With sudo:
I would have expected more/better output with sudo, not less. I am not sure what that means. I'll stop all containers that use |
Ok, it seems to be not a fault of
If I share
Edit: All that is wrong, too. It seems to be an issue with files that are shared with runtimes Thank you for looking at this! |
First, thank you for tini!
I currently try out kata with
--runtime=kata-runtime
instead of docker default runtimerunc
. (Ticket)I found that tini fails with a segmentation fault in container, even with
tini --version
.I've checked with a shared
docker-init
.Version:
Do you have a thought on this?
The text was updated successfully, but these errors were encountered: