Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

New application samples in Red Hat OpenShift 4.8

October 1, 2021
Don Schenck
Related topics:
.NETJavaNode.jsPythonQuarkusSpring Boot
Related products:
Red Hat OpenShift

    As Red Hat OpenShift continues to evolve and improve, our efforts to promote developer success ramp up as well. The OpenShift developer dashboard provides sample applications that are just a few clicks away from deployment. These samples are spread across a wide range of software development interests and stacks, so you'll probably find one of interest to you.

    For OpenShift 4.8, four new samples have been added, while four others have been updated. A total of 14 samples are at hand for the new or curious developer. We'll review all the samples in this article.

    Updated samples

    We've made sure to keep up with version changes in languages and frameworks. We are also increasingly moving from the Red Hat Enterprise Linux container base image to Red Hat Universal Base Images (UBI).

    .NET

    The .NET sample application is updated to run on .NET 5 and uses UBI 8 as the base image. The previous sample was .NET Core 3.1 running on Red Hat Enterprise Linux 7 as the base image. Both solutions use the Source-to-Image (S2I) feature of OpenShift and both result in a Linux image running in a Linux container.

    Node.js

    The only change here is a switch from Red Hat Enterprise Linux 7 to UBI 8 as the base image. Both samples use Node.js version 14.

    Python

    This sample contains a minor update from Python 3.8 and UBI 7 to Python 3.9 and UBI 8.

    Ruby

    Both the previous sample and the new sample use UBI 7. Ruby has been updated from version 2.7 to version 3.0.

    New samples

    Many of these samples seek to provide even simpler experiences for new developers.

    Basic Node.js

    This very elementary Node.js application uses Express version 4.17.x. This sample does not use any Red Hat operating system container image as a base image.

    Basic Python

    This very elementary Python "hello world" application does not use any Red Hat operating system container image as a base image.

    Basic Quarkus "hello world" Java application

    This is an excellent example to get started using Quarkus to build container images for OpenShift.

    "Hello world" Java Spring Boot application using Maven

    This elementary "hello world" application for Spring Boot does not use any Red Hat operating system container image as a base image.

    Unchanged samples

    We continue to offer the following samples, which remain the same as they were in the previous version of OpenShift:

    • Go on UBI 8
    • Apache HTTP Server 2.4 on Red Hat Enterprise Linux 7
    • Java using Maven and OpenJDK 11
    • Nginx HTTP server and a reverse proxy on Red Hat Enterprise Linux 7
    • Perl 5.30 on Red Hat Enterprise Linux 7
    • PHP 7.4 on UBI 8

    Want to try a sample? Or all of them?

    Within minutes you can have a free OpenShift cluster at your command to try any or all of these samples. Simply hop over to the Developer Sandbox for Red Hat OpenShift and get your free account. While there, be sure to check out the ever-growing list of sandbox activities.

    Let us know want you're looking for

    Want to see more samples? Are we missing some important development stacks? Leave a comment on this article and we'll see what we can do.

    Last updated: October 30, 2024

    Related Posts

    • What's new in the Red Hat OpenShift 4.8 console

    Recent Posts

    • Red Hat Enterprise Linux 10.2 and 9.8: Top features for developers

    • What GPU kernels mean for your distributed inference

    • Debugging image mode with Red Hat OpenShift 4.20: A practical guide

    • EvalHub: Because "looks good to me" isn't a benchmark

    • SQL Server HA on RHEL: Meet Pacemaker HA Agent v2 (tech preview)

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.