Is the docker package available for Red Hat Enterprise Linux 8 and 9?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Issue

  • Can not find the docker package in RHEL 8 and 9.
  • The docker package is not available in 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 replaced docker as the preferred, maintained, and supported container runtime of choice for Red Hat Enterprise Linux 8 and 9 systems. The podman provides a docker compatible command line experience enabling users to find, run, build, and share containers. The podman uses buildah and skopeo as libraries for the build and push.

  • The buildah utility replaced docker build as the preferred, maintained, and supported container images build tool in Red Hat Enterprise Linux 8 and 9 systems.

  • The skopeo utility replaced docker 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.

Comments