简体   繁体   English

执行“sudo kata-runtime kata-check”时,显示“文件/usr/share/kata-containers/vmlinuz.container不存在”

[英]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.

相关问题 为什么tomcat6在/ var / lib /和/ usr / share /中都有文件夹? - Why does tomcat6 have folders in both /var/lib/ and /usr/share/? 当给出sudo`访问时(通过`sudoers`文件),`apt-get install`有多安全 - How secure is `apt-get install` when `sudo` access given (via `sudoers` file) 当运行sudo apt-get升级失败时,“ libpam-runtime”缺少最后的换行符 - When running sudo apt-get upgrade fails with 'libpam-runtime' is missing final newline 使用'sudo'而不使用sudo时,RubyGems安装错误 - RubyGems installation errors both when using 'sudo' and not using sudo 为什么使用运行时包构建会使EXE文件更小? - Why does building with runtime packages make the EXE file smaller? kamailio启动失败错误:PID文件不存在 - kamailio start failed ERROR: PID file does not exist 使用安装程序部署应用程序的xml文件,或者如果不存在则动态创建它 - Deploy an application's xml file with installer or create it on the fly if it does not exist 从网络共享打开文件时的安全警告 - Security warning when opening file from network share 如何在 Docker 容器上安装 Access Runtime? - How to install Access Runtime on a Docker container? 您将 $NVM_DIR 设置为“/root/.nvm”,但该目录不存在。 检查您的配置文件和环境 - You have $NVM_DIR set to “/root/.nvm”, but that directory does not exist. Check your profile files and environment
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM