OpenShift Commons Briefing
It took some work...
Result: Avoid rebuilding a container when code changes
Result: application restarts within existing container
By default, Containers cannot access the underlying host FS
We can change this with Security Context Constraints
$ oc get scc # list the built in policies
Result: containers are allowed to mount host path volumes
Mounting local code including node_modules breaks native dependencies. We Installed node_modules in another folder.
Result: native deps are compiled for the right platform.
Caveat: must rebuild container when deps change.
What about scaling?
$ minishift config set memory 4096
$ minishift config set cpus 4
$ oc describe node
Minishift has potential to be a great dev environment
but it's not perfect
We don't have the answers
We would love your suggestions and contributions