官术网_书友最值得收藏!

Hypervisors

A number of different hypervisors are supported by Minikube. A hypervisor is a process that is used to launch the virtual machine; it isolates the virtual machine's operating system from your own while allowing it to share resources such as CPU, RAM, and drive space.

The following hypervisors are supported out-of-the-box by Minikube:

  • Hyper-V (Windows 10): This is the native hypervisor; it is available in Windows 10 Professional and Windows Servers
  • KVM (Ubuntu 17.04): This is the native Linux hypervisor, which operates inside the Linux kernel on most modern distributions
  • VirtualBox (macOS, Windows 10, and Ubuntu 17.04): Released by Oracle, VirtualBox is an open source x86 hypervisor which can be run on a large number of operating systems
  • VMware Fusion (macOS): Fusion provides a macOS-optimized hypervisor whose biggest strength is its ability to run and expose Windows applications on macOS
  • xhyve (macOS): This is the native hypervisor on macOS; like KVM on Linux, it is built into the kernel

As you can tell from the list, only VirtualBox is supported across all three of the operating systems we are covering in this chapter. Because of this, it is the default hypervisor supported by Minikube. If you have already got VirtualBox installed, you can run the following commands, which are relevant to your choice of operating system.

For macOS, we can use Homebrew and Cask to install VirtualBox by running:

$ brew cask install virtualbox

Likewise, for Windows 10 you can use Chocolatey to install VirtualBox:

You cannot use VirtualBox on Windows 10 if Hyper-V is enabled. If you wish to follow along, please disable Hyper-V before proceeding.

$ choco install virtualbox

Finally, for Ubuntu 17.04 you will need to run the following commands to add the repository and key:

$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
$ sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'

And then run the following commands to load the repository we added previously and install the package:

$ sudo apt-get update
$ sudo apt-get install virtualbox-5.1

You should now be able to see Virtualbox in your listed software programs.

主站蜘蛛池模板: 衡东县| 尖扎县| 阜康市| 石嘴山市| 三穗县| 高阳县| 靖安县| 思南县| 漠河县| 洛扎县| 苍南县| 望谟县| 玛沁县| 扎鲁特旗| 康定县| 贡嘎县| 屯门区| 萝北县| 肇州县| 西青区| 西乡县| 土默特左旗| 永平县| 威信县| 保靖县| 莱西市| 封开县| 抚松县| 满城县| 荃湾区| 九龙县| 璧山县| 大悟县| 龙游县| 聂拉木县| 华蓥市| 义乌市| 三原县| 青神县| 开原市| 华坪县|