O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Viewing domain details using rhc

In this recipe, you will learn how to view the details associated with a domain.

Getting ready

To complete this recipe, you will need to have rhc installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for instructions.

Also, you will need to have a valid domain associated with your account. Refer to the Creating a domain using rhc recipe in this chapter for instructions on how to create a new domain.

How to do it...

To view domain details, open a new command-line terminal and run the following command:

$ rhc show-domain --namespace <your domain name>

How it works...

The rhc show-domain command returns the details of a domain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required