MiniShift: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Install oc openshift client= Pull from [https://github.com/openshift/origin/releases CLI tool] Or from Red Hat [https://docs.openshift.com/enterprise/3.0/cli_reference/get_s...") |
(fix syntax MiniShift) |
||
Line 8: | Line 8: | ||
=Use Minishift with Virtual box= | =Use Minishift with Virtual box= | ||
<syntaxhighlight> | <syntaxhighlight lang=bash> | ||
minishift start --vm-driver=virtualbox | minishift start --vm-driver=virtualbox | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Login, deploy an app, expose, describe it= | =Login, deploy an app, expose, describe it= | ||
<syntaxhighlight> | <syntaxhighlight lang=bash> | ||
./oc login | ./oc login | ||
Latest revision as of 23:04, 24 January 2018
Install oc openshift client
Pull from CLI tool
Or from Red Hat [1]
Install Minishift
Pull from github.com/minishift
Use Minishift with Virtual box
minishift start --vm-driver=virtualbox
Login, deploy an app, expose, describe it
./oc login
./oc new-app centos/httpd-24-centos7~https://github.com/drew-holt/httpd-ex
./oc status
./oc expose svc/httpd-ex
./oc describe deploymentconfig httpd-ex