- Installing On OSX you can install with brew:
brew cask install minishiftThe upgrade MiniShift with:
minishift updateStart miniShift with VirtualBox:
minishift start --vm-driver=virtualboxLogin to the machine
minishift sshOnce logged in we can run docker commands:
docker psYou can execute commands inside the containers:
docker exec ti <hash> bashYou can check the status of MiniShift:
minishift statusUpdate MiniShift
minishift updateView the MiniShift environment vars
minishift oc-envEnter docker environment
eval $(minishift docker-env)You can now run docker commands on MiniShift:
docker psIf the client is not installed you may need to run
brew install openshift-cliEnter the MiniShift environment
eval $(minishift oc-env)Run the OpenShift Client with MiniShift
ocYou can login and set developer priveleges
oc login -u system:admin
oc adm policy add-cluster-role-to-user cluster-admin developerLogin as a developer
oc login -u developer -p developeroc project defaultoc get allOpen the console
minishift consoleTo overcome the github rate limit issue:
- goto https://github.com/settings/tokens
- generate api key
export MINISHIFT_GITHUB_API_TOKEN=API_KEY