Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How to pick the right container base image

April 13, 2021
Scott McCarty (fatherlinux)
Related topics:
ContainersDevOpsLinux
Related products:
Red Hat OpenShift Container Platform

Share:

    Picking the right container base image feels hard for a lot of people. Every major Linux distribution offers a base image. Open source projects for programming languages like Python, Ruby, and Node.js offer their own base images. Many open source projects and vendors also provide their own images for services like MariaDB, Redis, Elastic, and MySQL. While programming languages and services are not technically base images, most people perceive them as such and include them in their analysis when choosing standardized base images.

    Why the container base image matters

    According to an upcoming report based on a survey conducted by the Red Hat Europe, Middle East, and Africa (EMEA) team, a large percentage of developers use a standardized base image chosen by their operations team. However, the survey found that nearly as many teams let developers use whatever they want in production. This is a big indicator that teams are having trouble figuring out the right methodology for handling container base images.

    You might be asking yourself, why does it matter? In the same survey, a large majority of surveyed developers ranked security as a top three requirement for container base images. Developers ranked guaranteed operations as number two, with multi-year life cycle a distant third for priorities.

    If any of these requirements is a top priority for you and your teams, then Red Hat Universal Base Image (UBI) is an easy choice. UBI is a component of Red Hat Enterprise Linux 8 that helps build containers. It is a lightweight version of the Red Hat Enterprise Linux user space, stripped down to the bare essentials.

    Remember, what’s in a base container image is still an operating system that derives its security, reliability, and life cycle from the underlying operating system on which it is built. UBI is a well-maintained, up-to-date, enterprise-grade container image. It is also freely usable and freely distributable. You don’t even need to be a Red Hat customer to use it.

    Get started with Universal Base Images

    Development and operations teams should think deeply about their container base image. To help you make this strategic decision, we’ve published a new e-book, Red Hat Universal Base Images. This book contains information to help you understand and get started with UBI, including:

    • How you can use freely available container images that build on RHEL's long-term support, commitment to quality, security, reliability, and performance.
    • Why choosing a base container image is a strategic decision and why they are a key part of your standard operating environment.
    • Which types of UBI images are available and how to choose between them.
    • How to find the available UBI images, including language and other runtime images that are ready for you to add your code.
    • Where to find additional packages to use with UBI images.

    Read the e-book to learn why what’s in your base image matters and to find out how you can get started with UBI in your development projects.

    Last updated: February 11, 2024

    Recent Posts

    • Dynamic GPU slicing with Red Hat OpenShift and NVIDIA MIG

    • Protecting virtual machines from storage and secondary network node failures

    • How to use OCI for GitOps in OpenShift

    • Using AI agents with Red Hat Insights

    • Splitting OpenShift machine config pool without node reboots

    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
    © 2025 Red Hat

    Red Hat legal and privacy links

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

    Report a website issue