How to do it...

To complete this recipe, please perform the following steps:

  1. After logging in, you will see the main page of OpenShift, as shown in the following screenshot:
  1. Click on the Create Project button and fill in the fields provided. Then, click on Create:
  1. Once your project has been created, it will be automatically loaded onto the screen:
  1. On the open page, click on Add (top right) and then Deploy Image:
  1. From the pop-up, select Image Name, fill in the form with our pre-built image (eldermoraes/gf-jakartaee-cookbook), and click on the Search icon. The following screenshot shows the Image deployment page:
  1. Scroll down to the bottom of the page and click on Deploy:
  1. Watch the following page until the pod count is 1 of 1 pods. The following screenshot shows us monitoring the pod's creation:
  1. Navigate through the left-hand menu until you find the Networking Routes option. Click on it:

  1. Then, click on the Create Route button.
  1. On the new page that appears, fill in the provided fields, as shown in the following screenshot:
  1. Click on the Create button.
  2. This will open the following page. Under the Location label, you can find the route to your application. Click on it:

The preceding screenshot shows the route being confirmed.

  1. After running it, we will see the following test page for our application:

If you can see this page, then congratulations! You are now orchestrating your container in OpenShift.