This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.6.3. OpenShift Container Platform client commands
The OpenShift Container Platform oc client is a command-line utility for managing OpenShift Container Platform resources, including the virtual machine (vm) and virtual machine instance (vmi) object types.
You can use the -n <namespace> flag to specify a different project.
| Command | Description |
|---|---|
|
|
Log in to the OpenShift Container Platform cluster as |
|
| Display a list of objects for the specified object type in the current project. |
|
| Display details of the specific resource in the current project. |
|
| Create a resource in the current project from a filename or from stdin. |
|
| Edit a resource in the current project. |
|
| Delete a resource in the current project. |
For more comprehensive information on oc client commands, see the OpenShift Container Platform CLI tools documentation.