docker-machine as tool for defining a VMopenshift, important to provide target to stop and start VM later...
oc client to spin up OCP on previously defined VMoc cluster up, but need OCP instead of community OpenShift) and persistence configuration for stop / restartingregistry.access.redhat.com/openshift3/oseopenshift VM and specify version oc client"VirtualBox is required but not installed yet... download here:
https://www.virtualbox.org/wiki/Downloads"
"Docker-machine is required but not installed yet... instructions
here: https://docs.docker.com/machine/install-machine/#install-machine-directly
"OpenShift CLI tooling is required but not installed yet... download here:
https://access.redhat.com/downloads/content/290"
"OpenShift command line tools installed... checking for valid version...
Version of installed OpenShift command line tools is vX.X.X, must be v3.x.x or higher...
Download for Mac/Linux/Windows here:
https://access.redhat.com/downloads/content/290"
$ unzip ocp-install-demo-master.zip
$ cd ocp-install-demo-master
$ ./init{-win10}.{sh|bat}
https://192.168.99.100:8443
user: openshift-dev
password: devel
# This will remove the installation:
$ docker-machine rm -f openshift
# This will initialized OCP:
$ ./init.sh
# shutdown using:
$ oc cluster down --docker-machine=openshift
$ docker-machine stop openshift
# restart use the existing data and configuration:
$ docker-machine start openshift
$ oc cluster up --image=registry.access.redhat.com/openshift3/ose \
--host-data-dir=/var/lib/boot2docker/ocp-data \
--docker-machine=openshift \
--host-config-dir=/var/lib/boot2docker/ocp-config \
--use-existing-config=true --host-pv-dir=/var/lib/boot2docker/ocp-pv