- Installing On OSX you can install with brew:
brew cask install minishift
The upgrade MiniShift with:
minishift update
Start miniShift with VirtualBox:
minishift start --vm-driver=virtualbox
Login to the machine
minishift ssh
Once logged in we can run docker commands:
docker ps
You can execute commands inside the containers:
docker exec ti <hash> bash
You can check the status of MiniShift:
minishift status
Update MiniShift
minishift update
View the MiniShift environment vars
minishift oc-env
Enter docker environment
eval $(minishift docker-env)
You can now run docker commands on MiniShift:
docker ps
If the client is not installed you may need to run
brew install openshift-cli
Enter the MiniShift environment
eval $(minishift oc-env)
Run the OpenShift Client with MiniShift
oc
You can login and set developer priveleges
oc login -u system:admin
oc adm policy add-cluster-role-to-user cluster-admin developer
Login as a developer
oc login -u developer -p developer
oc project default
oc get all
Open the console
minishift console
To overcome the github rate limit issue:
- goto https://github.com/settings/tokens
- generate api key
export MINISHIFT_GITHUB_API_TOKEN=API_KEY