Install Docker Desktop on RHEL


目录

Docker Desktop terms

Commercial use of Docker Desktop in larger enterprises (more than 250 employees or more than $10 million USD in annual revenue) requires a paid subscription.

This page contains information on how to install, launch and upgrade Docker Desktop on a Red Hat Enterprise Linux (RHEL) distribution.

Prerequisites

To install Docker Desktop successfully, you must:

Install Docker Desktop

To install Docker Desktop on RHEL:

  1. Set up Docker's package repository as follows:

    $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce.repo
    
  2. Download the latest RPM package.

  3. Install the package with dnf as follows:

    $ sudo dnf install ./docker-desktop-x86_64-rhel.rpm
    

The RPM package includes a post-install script that completes additional setup steps automatically.

The post-install script:

Launch Docker Desktop

{{% include "desktop-linux-launch.md" %}}

To attach Red Hat subscription data to containers, see Red Hat verified solution.

For example:

$ docker run --rm -it -v "/etc/pki/entitlement:/etc/pki/entitlement" -v "/etc/rhsm:/etc/rhsm-host" -v "/etc/yum.repos.d/redhat.repo:/etc/yum.repos.d/redhat.repo" registry.access.redhat.com/ubi9

Upgrade Docker Desktop

Once a new version for Docker Desktop is released, the Docker UI shows a notification. You need to first remove the previous version and then download the new package each time you want to upgrade Docker Desktop. Run:

$ sudo dnf remove docker-desktop
$ sudo dnf install ./docker-desktop-<arch>-rhel.rpm

Next steps


版本号 #2
由 壳壳虫 创建于 2026-10-31 19:13:58 UTC
由 壳壳虫 更新于 2026-10-31 19:14:00 UTC