Minishift on Linux with VirtualBox

Minishift is a tool that helps you run OpenShift locally by running a single-node OpenShift cluster inside a VM.

Installation

Minishift requires a hypervisor to start the virtual machine on which the OpenShift cluster is provisioned. There are two options available for Linux hosts, KVM and VirtualBox.

VirtualBox must be manually installed in order to use the embedded VirtualBox drivers.

Download Minishft:

$ wget https://github.com/minishift/minishift/releases/download/v1.34.1/minishift-1.34.1-linux-amd64.tgz
$ tar xf minishift-1.34.1-linux-amd64.tgz

Define the location where you want Minishift installed:

$ export MINISHIFT_HOME=/mnt/images/minishift

Configure Minishift to use VirtualBox:

$ minishift config set vm-driver virtualbox

Configure Minishift memory and disk sizes as well as Minishift version you want to use:

$ minishift config set disk-size 32G
$ minishift config set memory 4096
$ minishift config set openshift-version v3.11.0

Verify configuration:

$ minishift config view

Start Minishift installation:

$ minishift start

Log in as admin:

$ oc login -u system:admin

References

https://docs.okd.io/latest/minishift/getting-started/index.html

One thought on “Minishift on Linux with VirtualBox

  1. very well documented. I could configure using this document on my CentOS host using virtualbox in one go.

Leave a Reply to Diptendu Banerjee Cancel reply

Your email address will not be published. Required fields are marked *