Is the docker package available for Red Hat Enterprise Linux 8 and 9?
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Issue
- I can't find the
docker
package in RHEL 8 and 9 - The
docker
package is not available from the Red Hat repositories
Resolution
-
The
docker
package is not shipped or supported by Red Hat for Red Hat Enterprise Linux (RHEL) 8 and (RHEL) 9. The docker container engine is replaced by a suite of tools in the Container Tools module. -
The
podman
container engine replaceddocker
as the preferred, maintained, and supported container runtime of choice for Red Hat Enterprise Linux 8 and 9 systems. Podman provides adocker
compatible command line experience enabling users to find, run, build, and share containers. Podman uses Buildah and Skopeo as libraries for the build and push. -
The
buildah
utility replaceddocker build
as the preferred, maintained, and supported container images build tool in Red Hat Enterprise Linux 8 and 9 systems. -
The
skopeo
utility replaceddocker push
as the preferred, maintained and supported utility for moving container images between registries, and container engines. -
For an overview of all of these tools for
RHEL 8
please see: Building, running and managing containers - Chapter 1. Starting with containers -
Follow up required for the same in
RHEL 9
is : Building, running and managing containers - Chapter 1. Starting with containers
Root Cause
- The docker package has been replaced by the container-tools module
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
5 Comments
It looks like the links in this article are now broken.
Sorry about that, Kurt. I've updated the links to the GA docs, note that the container command line reference moved from chapter 8 from the beta docs to chapter 7 in the GA docs.
Thank you!
Is it safe to say buildah replaced docker compose?
Buildah is used for building container images. It has the ability to consume existing Dockerfiles, but it also allows for extending/scripting the image building process. Check out the following pages for a good introduction to the tool:
https://www.projectatomic.io/blog/2017/06/introducing-buildah/ https://github.com/containers/buildah/blob/master/docs/tutorials/01-intro.md