Skip to main content
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 Red Hat 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

    • Red Hat OpenShift AI
    • 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.

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

    • 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.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

A brief introduction to Apps and Stacks Container Images

July 17, 2024
Petr Hracek
Related topics:
CI/CDContainersDatabasesProgramming languages & frameworks
Related products:
Red Hat Enterprise LinuxRed Hat OpenShiftRed Hat OpenShift Container Platform

    This article aims to describe Apps and Stacks container images from two perspectives: user’s and developer's.

    Apps and Stacks container images can be divided into two groups: 

    • Source-to-Image (S2I) images 
    • No Source-to-Image (NoS2I) images

    Source-to-Image (S2I) is a toolkit and workflow for building reproducible container images from source code.

    S2I images are:

    • S2i-nodejs-container
    • S2i-php-container
    • S2i-ruby-container
    • S2i-python-container
    • Nginx-container
    • httpd-container

    NoS2I images are:

    • Postgresql-container
    • Mysql-container
    • mariadb-container
    • Redis-container
    • varnish-container

    Apps and Stacks container images support several operating systems like Fedora, CentOS Stream 8 (C8S), CentOS Stream 9 (C9S), Red Hat Enterprise Linux (RHEL) 8, and RHEL 9, and soon also RHEL 10. CentOS7 and RHEL 7 are not supported at all.

    All container sources are stored in the "sclorg" GitHub repository All supported versions per container are available in this GitHub repository.

    Fedora, C9S, and soon C10S container images are automatically built and pushed either by merging a pull request or by scheduled updates each Wednesday.

    RHEL container images are updated by each imported CVE, or by updated base image.

    Some of the RHEL images have a Universal Base Image (UBI) version. The UBI is designed and engineered to be the base layer for all of your containerized applications, middleware, and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.

    User’s perspective

    To get a container for a specific operating system, pull the required version of the container from the respective container registry:

    • C8S and C9S images.

    • Fedora images.

    • RHEL images are available at GA from the Red Hat Container Registry: Certified Container Images - Red Hat Ecosystem Catalog.

    C8S and C9S images use tags, latest, c8s, or c9s. All these images are present in this container repository until they reach end of life (EOL).

    Each upstream repository contains instructions how to use the image either as a container-based image or in a Red Hat OpenShift 4 environment.

    E.g. postgresql-container.

    All supported versions are listed in the main README.md file, which is the same for all container versions.

    For example, if you want to use the PostgreSQL 16 version, you can find all the information here. The container-base usage, as well as OpenShift-base usage, is described here.

    To pull the PostgreSQL 16 C9S image from quay.io:

    $ podman pull quay.io/sclorg/postgresql-16-c9s

    Developer’s perspective

    If you are a developer who wants to participate, read the contribution guide, where you can find information about how to add a new container version and how to test a container.

    All containers use a test suite from the container-common-scripts repository. The test suite is written in bash and it is regularly distributed over a GitHub Action each week if there is any change.

    We plan to add a test suite written in PyTest later.

    Containers are tested every day with nightly builds or upon each pull request. The main testing platform is the Testing Farm.

    Example: postgresql-container from a developer's perspective.

    1. Clone the respective container repository:

      $ git clone 
      Cloning into 'postgresql-container'...
      remote: Enumerating objects: 6645, done.
      remote: Counting objects: 100% (1548/1548), done.
      remote: Compressing objects: 100% (324/324), done.
      remote: Total 6645 (delta 1287), reused 1331 (delta 1169), pack-reused 5097
      Receiving objects: 100% (6645/6645), 1.06 MiB | 8.28 MiB/s, done.
      Resolving deltas: 100% (3791/3791), done.
      $ cd postgresql-container
    2. Update or init the test suite:

      $ git submodule update --init
      Submodule 'common' (https://github.com/sclorg/container-common-scripts.git) registered for path 'common'
      Cloning into '/home/phracek/testing-approach/postgresql-container/common'...
      Submodule path 'common': checked out 'a9578162cd92ed8047e1936130813ed907470546' https://github.com/sclorg/postgresql-container
    3. Build and tag the respective container, for example, to build a container based on the RHEL8 host for version 16:

      $ make build TARGET=rhel8 VERSIONS=16
      $ make tag TARGET=rhel8 VERSIONS=16
    4. Make sure that all tests from the provided test suite passed.
      1. To run container based tests, use: 

        $ make test TARGET=rhel8 VERSIONS=16
      2. To run OpenShift 4 based, use:

        $ make test-openshift-4 TARGET=rhel8 VERSIONS=16

        Note: A prerequisite for running the OpenShift 4 tests is to have a connection to the OpenShift 4 cluster.

    5. If all tests are passed, you can file a pull request to the respective upstream repository. 

    Now you are a proud contributor to the Apps and Stack containers world. Congratulations!

    Related Posts

    • Building .NET Core container images using S2I

    • Verifying signatures of Red Hat container images

    • Build smaller container images using S2I

    • Creating and deploying a Java 8 runtime container image

    Recent Posts

    • A day in the life of an NVIDIA H100 on Red Hat OpenShift 5

    • Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install

    • Run Red Hat Enterprise Linux CoreOS on NVIDIA BlueField DPUs

    • Agent harness engineering: Separating model capabilities from enforcement

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    What’s up next?

    In this activity, discover how you can go from initial app idea to prototype code in as little as five minutes. You'll scaffold a Quarkus application, build a container image locally using Podman Desktop, and then see how to install, run, and test the application in the Developer Sandbox from the command line.

    Start the activity
    Red Hat Developers logo

    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
    Ask AI