Tuesday, April 10, 2018

Jboss Developer Openshift MAC


Install Docker

brew install openshift-cli


OpenShift/Minishit on MAC

Quick notes to install openshit on mac -

openshift.org/vm
brew cask install minishift
\curl -sSL https://get.rvm.io | bash -s stable

Open your terminal and run

\curl -sSL https://get.rvm.io | bash -s stable
When this is complete, you need to restart your terminal for the rvm to work.

Now, run rvm list known

This shows the list of versions of the ruby.

Now, run rvm install ruby-2.3

If you type ruby -v in the terminal, you should see ruby 2.4.2.

If it still shows you ruby 2.0., run rvm use ruby-2.4.2 --default.


brew install docker-machine-driver-xhyve

sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

minishift start

https://docs.openshift.org/latest/minishift/getting-started/quickstart.html