【问题标题】:Docker and VirtualBox on Fedora 27Fedora 27 上的 Docker 和 VirtualBox
【发布时间】:2017-12-12 13:05:09
【问题描述】:

我从他们的网站安装了 virtualbox 5.2。我运行了这个命令..

docker-machine create -d virtualbox dev

然后我得到了这个..

Running pre-create checks...
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.14.3-300.fc27.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.\\n5.2.2r119230\". 
Please upgrade at https://www.virtualbox.org"

我按照建议做了..

sudo /sbin/vboxconfig

那么..

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-4.14.3-300.fc27.x86_64
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-4.14.3-300.fc27.x86_64

..我不明白了。请帮忙。

【问题讨论】:

  • 你试过sudo apt-get install virtualbox吗?
  • 不。我没有。

标签: docker virtualbox fedora-27


【解决方案1】:

安装 kernel-devel 包,它将继续。顺便说一句,这不是编程问题,此类问题有更好的论坛...

【讨论】:

  • 天啊..这就是我最后来这里的原因。我做到了,先生。我做到了。我确实问过#fedora、ask.fedora 和 r/fedora。但我还没有从那些人那里得到答案。还是谢谢。
猜你喜欢
  • 2018-08-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-08-28
  • 2017-03-08
  • 1970-01-01
  • 2019-01-13
  • 1970-01-01
相关资源
最近更新 更多