gpt4 book ai didi

预创建检查 : "We support Virtualbox starting with version 5 的 docker 错误

转载 作者:行者123 更新时间:2023-12-02 17:59:27 25 4
gpt4 key购买 nike

我正在尝试在 Fedora OS 版本 25 中使用以下命令创建 docker 机器主机。

docker-machine create -driver=virtualbox host01

执行命令时出现以下错误。
Error with pre-create check: "We support Virtualbox starting with version 5. Your VirtualBox install is \"WARNING: 
The vboxdrv kernel module is not loaded.
Either there is no module available for the current kernel (4.10.12-200.fc25.x86_64) or it failed to load.
Please try load the kernel module by executing as root
dnf install akmod-VirtualBox kernel-devel-4.10.12-200.fc25.x86_64 akmods --kernels 4.10.12-200.fc25.x86_64 && systemctl restart systemd-modules-load.service
You will not be able to start VMs until this problem is fixed.\\n5.1.26r117224\".
Please upgrade at https://www.virtualbox.org"

我已经安装了 virtualbox 最新版本。运行建议的命令
 sudo dnf install akmod-VirtualBox kernel-devel-4.10.12-200.fc25.x86_64 akmods --kernels 4.10.12-200.fc25.x86_64 && systemctl restart systemd-modules-load.service

我收到以下错误
Last metadata expiration check: 0:48:35 ago on Thu Aug 17 22:38:47 2017.
Package akmods-0.5.6-7.fc25.noarch is already installed, skipping.
No package --kernels available.
No package 4.10.12-200.fc25.x86_64 available.

有什么建议?

最佳答案

我也遇到了这个问题,为此我使用以下命令将 Virtual box 升级到 5.2。此 link帮我

sudo apt-get remove virtualbox virtualbox-5.1
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-5.2

希望这可以帮助。

关于预创建检查 : "We support Virtualbox starting with version 5 的 docker 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45748162/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com