Minishift allows running a mini-version of Openshift cluster locally for convenience of development and debug. This blog is going through how to run minishift on MacOS.
Goto Mnishift Github Release Page, it is able to see the binary assets of Minishift for different operation systems. By writing this article, the latest versino of Minishift for MacOS is minishift-1.17.0-darwin-amd64.tgz.
Once downloaded, expand the tar file and copy the
minishift file to
# untar the downloaded file
Before Minishift can run, we need setup the virualization environment which supports Openshift running under MacOS environment.
When doing this step, I assum you have brew installed /configured correctly in your computer.
You can simply copy and paste code below and run in a terminal.
# Update brew first
Once setup virtualization environment successfully, let’s start minishift:
For first time running, it will download all related dependencies including images / cli binary .
After starting successfully, it is able to see the allocated IP address to the master node of the openshift cluster. In my case it is
Then you should be able to open
https://192.168.64.2:8443 in your browser and login with username and password both as
To shutdown your minishift cluster simply run: