Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

Openshift: Lab 3 – Install an application from a Linux container image repository using the OpenShift web console

What the lab teaches

The lab teaches how to use the OpenShift web console to deploy an application directly from a public container image repository. It uses the Deploy Image flow in the Developer perspective, where OpenShift pulls the container image and creates a running application from it.

Prerequisites covered

Learners should understand:

TopicWhy it matters
Container imagesThe app is deployed from an existing image
Container image repositoriesThe image is pulled from a registry such as Quay
OpenShift web consoleThe lab uses the UI, not CLI
Administrator and Developer perspectivesLearners navigate the Developer +Add workflow
OpenShift and Kubernetes relationshipOpenShift runs the container workload on Kubernetes

Main lab flow

StepAction
1Open the Developer Sandbox
2Log in with a Red Hat account
3Open the OpenShift web console
4Go to Developer perspective
5Click +Add
6Select Container images
7Open the Deploy Image tab
8Enter image name: quay.io/openshiftroadshow/parksmap:1.3.0
9Select Deployment as the resource type
10Click Create
11View the app in the Topology page
12Open the app using the URL icon
13Delete the application from Topology
14Confirm deletion by entering the application name

What OpenShift creates

When the image is deployed, OpenShift downloads the container image and creates a running containerized application in the cluster. For a web application, OpenShift can expose it through a URL/route so the user can open it in a browser.

CLI equivalent for the same lab

The PDF uses the web console, but the closest oc equivalent is:

oc new-project parksmap-demo

oc new-app quay.io/openshiftroadshow/parksmap:1.3.0 --name=parksmap

oc expose service/parksmap

oc get pods
oc get service
oc get route
Code language: JavaScript (javascript)

To test the route:

curl -I http://$(oc get route parksmap -o jsonpath='{.spec.host}')
Code language: JavaScript (javascript)

To clean up:

oc delete all -l app=parksmap
oc delete route parksmap
oc delete project parksmap-demo
Code language: JavaScript (javascript)

Main difference from Lab 2: Lab 2 builds an app from GitHub source code using S2I; Lab 3 deploys a prebuilt container image from a registry.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Best DevOps Tools in 2024

here’s a clear, structured breakdown of the Best DevOps Tools (grouped by categories), so you can use it for learning, training, or posts. 🚀 Best DevOps Tools…

Read More

OpenShift Tutorial – Deploy and Access Your First Applications using OpenShift Local

How to install oc? OpenShift: How to Install OpenShift CLI oc How to login? Login to the Openshift using Web Console and CLI using oc Copy the admin…

Read More

OpenShift Lab 14: Setting Up and Using OpenShift Serverless Functions on OpenShift Local

Lab Objective In this lab, you will install and use OpenShift Serverless Functions on OpenShift Local. You will create a simple Node.js serverless function, deploy it to…

Read More

OpenShift Lab 13: Deploy a Java Spring Boot Application with MySQL Using the OpenShift Web Console

Lab Objective In this lab, you will deploy a Java Spring Boot application on OpenShift using the OpenShift web console. You will deploy two components: The Java…

Read More

OpenShift Lab 12: Deploy an Application from an Existing Container Image Using the OpenShift Web Console

Lab Objective In this lab, you will deploy an application on OpenShift from an existing container image. This lab is different from building an application from source…

Read More

OpenShift: How to Install OpenShift CLI oc

Option – 1 – REDHAT Websites URL – https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.11/x86_64/product-software Option – 2 – OKD Websites The OKD (Origin Community Distribution of Kubernetes for OpenShift) is the open-source…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Skylar Bennett
Skylar Bennett
27 days ago

The tutorial explains how to deploy applications from a container image repository through the OpenShift web console, but it would be useful to include some operational best practices. In real-world environments, managing access to private registries, handling image pull credentials, and enforcing image verification policies are important for maintaining a secure platform. It would also add value to discuss automated image updates, security scanning, and promotion mechanisms that help teams deliver consistent releases across multiple environments.

1
0
Would love your thoughts, please comment.x
()
x