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.