Skip to content

Instantly share code, notes, and snippets.

@qgervacio
Last active June 20, 2019 05:27
Show Gist options
  • Save qgervacio/b78690c4f29faa49e1e1048bdbfb3756 to your computer and use it in GitHub Desktop.
Save qgervacio/b78690c4f29faa49e1e1048bdbfb3756 to your computer and use it in GitHub Desktop.
Minishift Installation in OSX
# -------------------------------------------------------------
# Summary of installation steps of OKD Minishift using Homebrew
# -------------------------------------------------------------
# Reference(s):
# https://docs.okd.io/latest/minishift/getting-started/index.html
# Tested in:
# ProductName: Mac OS X
# ProductVersion: 10.14
# BuildVersion: 18A391
# this will initially fail. follow the instructions then try again
brew cask install virtualbox
# xhyve don't seem to play well with OSX Mojave so use hyperkit
# https://github.com/Homebrew/homebrew-core/issues/31740
brew install docker-machine-driver-hyperkit
sudo chown root:wheel /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
sudo chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
# if you installed docker before docker-machine-driver-hyperkit you might need to do this
brew link --overwrite docker-machine
# minishift installation
brew cask install minishift
# have fun!
minishift start --memory=6gb --vm-driver=virtualbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment