-
Notifications
You must be signed in to change notification settings - Fork 379
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
Support of --runtime=kata-runtime #138
Comments
i don't trust kata, i don't trust anything that comes from intel who puts web servers in their cpus. also meltdown and spectre was not long ago. Intel CEO sold his shares way before vulnerabilities became public and he is not charged with insider trading .(which tells a lot!) |
AFAIK, unlike Intel CPUs, kata-containers is open-source and based on QEMU. So, no need to trust anyone. |
I did a test with kata-runtime. Accessing the container with |
It might be worth asking the architecture committee (/cc @egernst, @sameo, @jon, @gnawux, @WeiZhang555) if they have any thoughts about this. According to https://katacontainers.io/learn/, it might required for x11docker to provide the custom startup script to the Agent, since it seems that kata-containers also runs it's own startup script. |
There is a comprehensive list of kata limitations: https://github.com/kata-containers/documentation/blob/master/Limitations.md However, none of them explains why |
First success: I got a running
So far, a basic support of |
I have added experimental support of It is still a lot to check and to fix, but basically it works. The There is an issue with files shared with |
--runtime=kata-runtime: some finetuning, catch unsupported options #138
I have added a new x11docker option A lot of x11docker options are not possible with kata, but x11docker shows messages and uses fallbacks in that case. |
I gave the kata developers a note that x11docker supports it, and they like it. :-) |
Awesome. I'm really glad to hear that! |
GPU acceleration for kata containers is possible now with iGLX. Example:
|
Coming from #102 (comment) and #92 (comment)
@1138-4eb wrote:
About GUI applications and kata, did you actually try it or is there any specific reason why you think that it is not supported? I ask it because kata is expected to replace runc, so the
docker run
command does not change at all. Therefore, it should be possible to share an X server from the host through a TCP port. For example, sharing folders with-v
works as expected.Yes. Precisely, I found about it because kata-runtime was set up as default in a machine I used. ATM,
docker build
does not support--runtime
(see moby/buildkit#842), so the mechanism to change it is to modify the default and restart the daemon.See https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file. If
/etc/docker/daemon.json
does not exist, just create it:Custom example for
kata-runtime
installation (to keep usingrunc
as default):This is also explained at https://docs.nvidia.com/dgx/nvidia-container-runtime-upgrade/index.html#using-nv-container-runtime for
nvidia
.Nonetheless, you can retrieve this info with
docker info
, so you don't need to check where it comes from:The text was updated successfully, but these errors were encountered: