[英]When execute "sudo kata-runtime kata-check", it shows " file /usr/share/kata-containers/vmlinuz.container does not exist"
First I install qemu-2.11.1 with commands:首先,我使用以下命令安装 qemu-2.11.1:
./configure --enable-virtfs`
sudo make
sudo make install
Then I executed commands in kata-containers/runtime:然后我在 kata-containers/runtime 中执行命令:
sudo make
sudo make install
After these things, I just checked wheter the environment is suitable for kata-container.在这些事情之后,我刚刚检查了环境是否适合kata-container。 But it showed:
但它显示:
ERRO[0000] /usr/share/defaults/kata-containers/configuration-qemu.toml: file /usr/share/kata-containers/vmlinuz.container does not exist arch=amd64 name=kata-runtime pid=66966 source=runtime
I found that the /usr/share/kata-containers did not exist at all.我发现 /usr/share/kata-containers 根本不存在。 I searched for this error message but there was no solutions.
我搜索了此错误消息,但没有解决方案。 I wonder how I deal with this problem.
我想知道我是如何处理这个问题的。 Thank you.
谢谢你。
This looks very similar to https://github.com/kata-containers/runtime/issues/2374 Basically, you have only installed a couple of the necessary components for Kata.这看起来非常类似于https://github.com/kata-containers/runtime/issues/2374基本上,您只为 Kata 安装了几个必要的组件。 You also need to install some other components (see the developers guide ).
您还需要安装一些其他组件(请参阅开发人员指南)。
I agree the kata-env
command could be a little more useful, and continue to check the rest of the setup though.我同意
kata-env
命令可能更有用一点,但请继续检查设置的其余部分。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.