Score:0

How to officially install latest Docker into offline RHEL 8 x86_64 machine?

be flag

I have an offline RHEL 8 x86_64 machine that I would like to install the latest version of Docker onto, ideally without needing a RHEL package mirror. This machine will never be connected to the Internet.

The official Docker docs provide a link to manual instructions: https://docs.docker.com/engine/install/rhel/#install-from-a-package. But following the link it provides (https://download.docker.com/linux/rhel/8) there seem to be binaries only for s390x architecture.

There are x86_64 rpms for CentOS 8: https://download.docker.com/linux/centos/8/x86_64/stable/Packages/. Are these compatible/recommended for RHEL 8? Given CentOS 8's moved up end of life (https://wiki.centos.org/About/Product) are these rpms only a short-term solution?

Score:2
cn flag

Using the centos repo from docker.com should work on RHEL and rebuilds including CentOS. Mirror what you need locally. Although yes Docker should figure out what to do about Stream.

Prior to 8, CentOS Linux released after the same RHEL version. CentOS Stream flips this around to be testing the next RHEL updates. It is RHEL, but with earlier exposure to changes before they are generally available.

Presumably Docker will continue to provide EL rpms after the end of the year. Like every other CentOS user, they will need to decide to build on Stream or RHEL or something else. As a user, doesn't really matter as long as it has been tested to work with RHEL.

Likely the RHEL repo containing only s390x is because that architecture does not exist for CentOS. yum would ignore the additional architecture, but users might get confused.


As of RHEL 8 Red Hat does not package or support docker, they switched to a different container tools set including podman. Official in this context is limited to docker.com packages.

phoenix avatar
be flag
I can confirm the CentOS 8 RPMs install and run fine on RHEL 8.4.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.