# On the container images what do the different variants mean?

**URL:** <https://forums.rockylinux.org/t/on-the-container-images-what-do-the-different-variants-mean/16458>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [November 12, 2024, 4:18am UTC](https://forums.rockylinux.org/t/on-the-container-images-what-do-the-different-variants-mean/16458 "2024-11-12T04:18:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![halloleo](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@halloleo](https://forums.rockylinux.org/u/halloleo)\
**Post date:** [November 12, 2024, 4:18am UTC](https://forums.rockylinux.org/t/on-the-container-images-what-do-the-different-variants-mean/16458/1 "2024-11-12T04:18:45Z")

</div>

In the download section are the different container image variants `Base`, `Minima`l, `UBI` and `Toolbox`.

What are the differences? I might have “tomatos on my eyes”, but I could not find any conclusive answer in the docs.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [November 12, 2024, 6:16am UTC](https://forums.rockylinux.org/t/on-the-container-images-what-do-the-different-variants-mean/16458/2 "2024-11-12T06:16:25Z")

</div>

The primary difference between the four are the package sets, which ultimately affect their size and what they can do out of the box.

`Base` will contain a starting base of packages and then includes packages such as dnf, vim-minimal, tar, and a few other utilities.

`Minimal` will contain a very small starting base of packages, but goes further by stripping out utilities and unneeded packages. Package management is still available with microdnf rather than dnf itself. This is the smallest image we provide for those conscious about footprint. I gather a lot of folks like and prefer this image because of that.

`UBI` is meant to be similar to Red Hat’s UBI image. It’s like the `Base` image, but a few more bells and whistles like systemd being available. UBI stands for “universal base image” and is essentially for kubernetes based workloads (not that you have to use a UBI image for that, you can use the UBI image for anything you’d like).

`Toolbox` is a much bigger image and is meant to be used with the `toolbox` package/command on Fedora or Enterprise Linux systems. The `toolbox` command is a wrapper around podman and simply places you into a container with a shell. It contains a chunk of the standard utilities and package set you may find if you did a minimal install of Rocky Linux. It can be used for development or even experimentation. (I personally use toolbox for testing changes in Rocky Linux development without spinning up a whole VM)

This may not be super helpful, but [this file](https://git.resf.org/sig_core/rocky-kiwi-descriptions/src/branch/r9/container/container.xml) describes the package set that is installed for each container that we provide.

Hopefully this helps.

---

<div class="post-metadata">

**Author:** ![halloleo](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@halloleo](https://forums.rockylinux.org/u/halloleo)\
**Post date:** [November 12, 2024, 10:12pm UTC](https://forums.rockylinux.org/t/on-the-container-images-what-do-the-different-variants-mean/16458/3 "2024-11-12T22:12:10Z")

</div>

Thanks. It does help. Exactly what I was after.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [January 11, 2025, 10:12pm UTC](https://forums.rockylinux.org/t/on-the-container-images-what-do-the-different-variants-mean/16458/4 "2025-01-11T22:12:25Z")

</div>

Closed on January 11, 2025, 10:12pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
