伙计们,我正在尝试安装虚拟机,但卡在了某一点。
sudo docker-machine create --driver virtualbox host1
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\\n available for the current kernel (5.15.90.1-microsoft-standard-WSL2) or it failed to\\n load.
Please recompile the kernel module and install it by\\n\\n sudo /sbin/vboxconfig\\n\\n
You will not be able to start VMs until this problem is fixed.\\n7.0.10r158379\". Please upgrade at https://www.virtualbox.org"
sudo virtualbox version
它会打开虚拟盒。sudo apt-get install virtualbox-5.2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package virtualbox-5.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'virtualbox-5.2' has no installation candidate