Minishift deployment is supported on Windows, MacOS and Linux operating systems. Minishift uses libmachine to deploy a virtual machine, boot2docker as the operating system and OpenShift Origin to run the cluster. Minishift requires a hypervisor to run the virtual machine with OpenShift. Depending on your host operating system, you can choose between the following hypervisors:
Operating system | Hypervisor | platform |
macOS | xhyve | VirtualBox |
linux | KVM | VirtualBox |
Windows | Hyper-V | VirtualBox |
Info:
boot2docker is a lightweight Linux distribution based on Tiny Core Linux that was specifically developed for running containers. However, the project is now deprecated.
Before you begin, you need to configure virtualization support and install VirtualBox .
Then you need to download the archive for your operating system from the Minishift release page and unpack it. The Minishift binary from the archive needs to be copied to the preferred location of the operating system and the location should be added to your PATH environment variable. Minishift uses the SSH binary located in the system PATH environment.
info
On macOS, you can also use Homebrew Cask to install a stable version of Minishift:
$ brew cask install minishift
If all requirements are met, you can $ minishift start --vm-driver=virtualbox
start a cluster with . After installation, you can log into the cluster with oc login. It should be mentioned that you also have to install the oc client tool .
You can $ minishift ssh
connect to the Minishift VM via . The Minishift cluster can $ minishift stop
be stopped with the . To remove the VM, use$ minishift delete