Working with oc cluster up
The OpenShift client utility named oc
can start a local OpenShift cluster, which includes all of the required services, such as an internal registry, a router, templates, and so on. This is one of the easiest ways to start a development environment. oc cluster up
creates a default user and project, and once it is complete, it will allow you to use any commands to work with the OpenShift environment, such as oc new-app
.
Note
This method provides a containerized OpenShift environment that can easily be run on a number of platforms.
System requirements and prerequisites
The oc cluster up
method supports Linux, macOS, and Windows-based workstations. By default, the method requires an environment with a Docker machine installed. However, the command can create a Docker machine by itself. The following table shows the available deployment scenarios:
Operating system | Docker implementation |
Linux | Default docker daemon for OS |
macOS | Docker for macOS |
macOS | Docker Toolbox |
Windows | Docker... |