CmdID

CmdID / Commands

oc

The OpenShift Container Platform CLI. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

The OpenShift Container Platform CLI. Allows for application and container management.

Log in to the OpenShift Container Platform server

oc loginIdentify

Create a new project

oc new-project project_nameIdentify

Switch to an existing project

oc project project_nameIdentify

Add a new application to a project

oc new-app repo_url --name applicationIdentify

Open a remote shell session to a container

oc rsh pod_nameIdentify

List pods in a project

oc get podsIdentify

Log out from the current session

oc logoutIdentify