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

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.

主站蜘蛛池模板: 湟中县| 乌鲁木齐市| 临猗县| 双牌县| 舞钢市| 长春市| 若羌县| 汝城县| 滦南县| 南宁市| 阿克| 通山县| 山阴县| 绵阳市| 琼中| 乌鲁木齐市| 内黄县| 惠来县| 珠海市| 清丰县| 固始县| 阳江市| 大荔县| 邢台县| 喀什市| 雷山县| 林周县| 温宿县| 辰溪县| 南江县| 黑河市| 吕梁市| 扎鲁特旗| 焦作市| 磴口县| 南溪县| 黄石市| 视频| 井研县| 高邮市| 合作市|