首页 > 解决方案 > 在 kata 容器中实现 usbip

问题描述

尝试在带有 kata-runtime 的容器中安装 apt-get usbip,我遇到了问题。

我正在运行以下命令:

root@5259de9be6a7:/# usbip
WARNING: usbip not found for kernel 5.4.60

You may need to install the following packages for this specific kernel:
linux-tools-5.4.60-52.container
linux-cloud-tools-5.4.60-52.container

You may also want to install one of the following packages to keep up to date:
linux-tools-52.container
linux-cloud-tools-52.container

然后我尝试使用以下命令安装 linux-tools 软件包:

# apt-get install -y linux-tools-$(uname -r)
Reading state information... Done
E: Unable to locate package linux-tools-5.4.60-52.container
E: Couldn't find any package by glob 'linux-tools-5.4.60-52.container'
E: Couldn't find any package by regex 'linux-tools-5.4.60-52.container'

这个错误我正在使用 kata-runtime 进入容器

标签: kata-containers

解决方案


推荐阅读