d-d
d-d

Reputation: 1805

OpenShift CLI: oc vs rhc?

What is the difference between rhc and oc CLI-tools?

As I see, they do almost the same:

oc:

The OpenShift CLI exposes commands for managing your applications, as well as lower level tools to interact with each component of your system.

rhc does the same, no?

What should I use to manage my containers on OpenShift platform?

Upvotes: 16

Views: 3793

Answers (1)

Graham Dumpleton
Graham Dumpleton

Reputation: 58523

The rhc tool is for OpenShift 2. The oc tool is for OpenShift 3. They are completely different versions of the package. So you need to know which version of OpenShift you are using. If you are using the existing OpenShift Online version it is version 2. If you are using the new OpenShift Online developer preview, it is version 3.

Upvotes: 24

Related Questions