代码之家  ›  专栏  ›  技术社区  ›  DuckQueen

如何在Singularity容器中启动VM?

  •  0
  • DuckQueen  · 技术社区  · 6 年前

    所以我想吐一口 Windows.iso 我有一个 奇点 图像。我尝试了VirtualBox,但出现了以下异常:

    ingularity virtualbox:~> virtualbox  WARNING: The vboxdrv kernel module is not loaded. Either there is no module  available for the current kernel (4.17.3-200.fc28.x86_64) or it failed to  load. Please recompile the kernel module and install it by 
    
    sudo /sbin/rcvboxdrv setup 
    
    You will not be able to start VMs until this problem is fixed.
    

    请注意,奇点图像不能有sudo,所以所有的准备工作都在Docker图像中完成,我从中创建了奇点图像

    1 回复  |  直到 6 年前
        1
  •  0
  •   al3x609    6 年前

    您需要在容器外部的主机系统上安装virtualbox的内核模块,然后在运行容器之前加载它。根据您拥有的发行版,可能需要从源代码构建它。