Making Red Hat expert knowledge available in offline environments


Red Hat Offline Knowledge Portal 1

Deploy and use the Red Hat Offline Knowledge Portal

Red Hat Customer Content Services

Abstract

Instructions to deploy and use the Red Hat Offline Knowledge Portal to access content from the Red Hat Customer Portal including the entire product documentation library in environments with limited or no internet connectivity.

Preface

Red Hat users who are not always connected to the internet might benefit from having the Red Hat library of product and technical information available offline. Users can download the Red Hat Offline Knowledge Portal for use by a single user, for example a support engineer who works in offices with limited or no internet connectivity. Or users can download the Red Hat Offline Knowledge Portal and make it available to many users in an organization that does not have internet access, for example a secure government facility.

Important

The Red Hat Offline Knowledge Portal is for your internal use only and contains Red Hat proprietary, licensed content. By using the Red Hat Offline Knowledge Portal, you agree to adhere to the terms of the Red Hat Offline Knowledge Portal End User License Agreement (EULA) and to not publicly share the image, its content, or your access key.

You can deploy the Red Hat Offline Knowledge Portal for use on a single system to use as you move in and out of environments that do not have access to the internet, or to decide to share the Red Hat Offline Knowledge Portal with your organization. This is the simplest way to deploy the Red Hat Offline Knowledge Portal.

Prerequisites

  • An x86_64 or aarch64 hardware platform.
  • Your Customer Portal, Red Hat Developer, or registry service account credentials. To create a registry service account, go to the Registry Service Account page.
  • An active Red Hat Satellite subscription. A Red Hat Satellite subscription is required to access the Red Hat Offline Knowledge Portal. The Red Hat Offline Knowledge Portal is included as part of a Red Hat Satellite subscription at no additional cost. However, you do not need to deploy the Red Hat Offline Knowledge Portal on the Red Hat Satellite server and you do not need to install Red Hat Satellite to use the Red Hat Offline Knowledge Portal. For information, see the Red Hat Satellite product page.
  • Internet access to download the Red Hat Offline Knowledge Portal image. Internet access is not needed to access the Red Hat Offline Knowledge Portal after it is deployed.
  • An open container initiative (OCI) runtime tool to deploy the Red Hat Offline Knowledge Portal. Podman is the OCI tool developed by Red Hat engineers and used in this procedure. For information about installing Podman, see the Podman website.
  • One or more pods that meet the minimum requirements:

    Expand
    Resources per podCPUMemoryDisk

    Minimum

    1 core

    1 GB

    50 GB

    Recommended

    2 core

    2 GB

    75 GB

Procedure

  1. Use Podman to download the Red Hat Offline Knowledge Portal:

    1. Enter the following command in a terminal and use your Customer Portal, Red Hat Developer, or registry service account credentials to log in to registry.redhat.io:

      $ podman login registry.redhat.io
      username: <username>
      password: <password>

      where:

      <username>
      Specifies your Customer Portal, Red Hat Developer, or registry service account user name.
      <password>
      Specifies your Customer Portal, Red Hat Developer, or registry service account password.
    2. Download the Red Hat Offline Knowledge Portal image:

      $ podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
  2. Get your Red Hat Offline Knowledge Portal access key:

    1. Navigate to the Red Hat Offline Knowledge Portal Access Key Generator page, click Generate key, and then copy the key to your clipboard. After you generate your access key, the key is stored in your Red Hat account.
    2. Optional: If you need the key again, click Generate Key to display the previously generated key.
    3. Optional: If your access key is compromised, report a bug to unbind your access key so you can generate a new one.
  3. To launch the Red Hat Offline Knowledge Portal with https using the self-signed certificate Podman generates, enter the following command:

    $ podman run --rm -p 8080:8080 -p 8443:8443 \
    --env "ACCESS_KEY=<your_personal_access_key>" \
    -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest

    where:

    <your_personal_access_key>
    Specifies the access key that you generated in the previous step. The podman run command includes your access key. Without the correct access key, you cannot view encrypted content or use certain features, such as search.

Verification

Wait 30 seconds for the container to load and then navigate to http://localhost:8080 or https://localhost:8443 and accept the self-signed certificate. The Red Hat Offline Knowledge Portal opens in a browser window.

Deploy the Red Hat Offline Knowledge Portal on your on-premise private network or offline network so that you can share the Red Hat information library with multiple users.

You must connect to the internet to download the Red Hat Offline Knowledge Portal container image and obtain your access key. Then, if you are deploying the Red Hat Offline Knowledge Portal on an offline network, you can transfer the image to your disconnected environment by using the secure methods specified by your organization.

Prerequisites

  • An x86_64 or aarch64 hardware platform.
  • Your Customer Portal, Red Hat Developer, or registry service account credentials. To create a registry service account, go to the Registry Service Account page.
  • An active Red Hat Satellite subscription. A Red Hat Satellite subscription is required to access the Red Hat Offline Knowledge Portal. The Red Hat Offline Knowledge Portal is included as part of a Red Hat Satellite subscription at no additional cost. However, you do not need to deploy the Red Hat Offline Knowledge Portal on the Red Hat Satellite server and you do not need to deploy Red Hat Satellite to use the Red Hat Offline Knowledge Portal. For information, see the Red Hat Satellite product page.
  • Internet access to download the Red Hat Offline Knowledge Portal image. Internet access is not needed to access the Red Hat Offline Knowledge Portal after it is deployed.
  • An open container initiative (OCI) runtime tool to deploy the Red Hat Offline Knowledge Portal. Podman is the OCI tool developed by Red Hat engineers and used in this procedure. For information about installing Podman, see the Podman website.
  • One or more pods that meet the minimum requirements:

    Expand
    Resources per podCPUMemoryDisk

    Minimum

    1 core

    1 GB

    50 GB

    Recommended

    2 core

    2 GB

    75 GB

Procedure

  1. Use Podman to download the Red Hat Offline Knowledge Portal:

    1. Enter the following command in a terminal and use your Customer Portal, Red Hat Developer, or registry service account credentials to log in to registry.redhat.io:

      $ podman login registry.redhat.io
      username: <username>
      password: <password>

      where:

      <username>
      Specifies your Customer Portal, Red Hat Developer, or registry service account user name.
      <password>
      Specifies your Customer Portal, Red Hat Developer, or registry service account password.
    2. Download the Red Hat Offline Knowledge Portal image:

      $ podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
  2. If you are deploying the Red Hat Offline Knowledge Portal on an offline network, complete the following steps:

    1. To convert the image to a file that you can transfer to your offline environment, save the image to a TAR file:

      podman save --format oci-archive -o rhokp.tar registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
    2. Use a method approved by your organization to transfer the rhokp.tar file to your offline environment.
    3. To load the image in your offline environment, enter the following command:

      podman load -i rhokp.tar
  3. Optional: To use your own SSL/TLS certificates, you must create a local httpd-ssl/ directory to store your certificates:

    Important

    The Red Hat Offline Knowledge Portal reverts to the default SSL/TLS key pair if it cannot detect the certificate files.

    httpd-ssl/
    ├── certs
    │   └── <cert_filename>.pem
    └── private
       └── <key_filename>.pem

    where:

    <cert_filename>
    Specifies the name of your SSL/TLS certificate.
    <key_filename>

    Specifies the SSL/TLS key.

    The httpd-ssl directory name must be exact. Your cert and key filenames must have a .pem extension.

    For more information about using SSL certificates, see the Apache httpd 2.4 page in the Red Hat catalog.

  4. Get your Red Hat Offline Knowledge Portal access key:

    1. Navigate to the Red Hat Offline Knowledge Portal Access Key Generator page, click Generate key, and then copy the key to your clipboard. After you generate your access key, the key is stored in your Red Hat account.
    2. Optional: If you need the key again, click Generate Key to display the previously generated key.
    3. Optional: If your access key is compromised, report a bug to unbind your access key so you can generate a new one.
  5. To launch the Red Hat Offline Knowledge Portal with Podman, enter the following command:

    $ podman run --rm -p 8080:8080 -p 8443:8443 \
    -v ./httpd-ssl:/opt/app-root/httpd-ssl:Z \
    --env "ACCESS_KEY=<your_personal_access_key>" \
    -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest

    where:

    <your_personal_access_key>

    Specifies the access key that you generated in the previous step. The podman run command includes your access key. Without the correct access key, you cannot view encrypted content or use certain features, such as search.

    If you are using your own SSL/TLS certificates instead of the default, -v ./httpd-ssl:/opt/app-root/httpd-ssl:Z \ mounts a volume for the SSL/TLS certificates in your local httpd-ssl/ directory.

    The container should start after 30 seconds.

Verification

  1. On a remote system with a web browser, enter http://<server-ip-address>:8080 or https://<server-ip-address>:8443.

    where:

    <server-ip-address>
    Specifies the IP address of your server.
  2. To review the Podman container log, enter the following command:

    $ podman logs <container>

    where:

    <container>
    Specifies the Red Hat Offline Knowledge Portal container name or ID.

Red Hat releases updates of the Red Hat Offline Knowledge Portal periodically, usually weekly. Every Red Hat Offline Knowledge Portal release is a new container image labeled with the release version and the image build date.

To make sure that you have access to the latest Red Hat content, replace your current Red Hat Offline Knowledge Portal image with the most recent Red Hat Offline Knowledge Portal image.

Prerequisites

Procedure

  1. Connect to the internet.
  2. Optional: Check for a new Red Hat Offline Knowledge Portal image label:

    1. Open the Red Hat Offline Knowledge Portal.
    2. Note the content extract date in the upper right corner of the Red Hat Offline Knowledge Portal page.
    3. Navigate to the Red Hat Offline Knowledge Portal page in the Red Hat Ecosystem Catalog.
    4. Click the number of days under Published to see the date that the latest image was published and compare it to the date of your existing image.
  3. If you deployed the Red Hat Offline Knowledge Portal in an offline environment and created an rhokp.tar file, delete the rhokp.tar file.
  4. Follow the instructions in one of the following chapters to redeploy the Red Hat Offline Knowledge Portal:

When you deploy the Red Hat Offline Knowledge Portal image, you can use environment variables to customize the Red Hat Offline Knowledge Portal.

The following table describes the environment variables that you can use with the Red Hat Offline Knowledge Portal:

Expand
Environment variableValueDescription

ACCESS_KEY

Your Red Hat Offline Knowledge Portal access key

The access key required to access all parts of the Red Hat Offline Knowledge Portal. You must have a Red Hat Satellite subscription to get an access key from the Access Key Generator page.

ONLINE_VIEW

true or false

When set to true, displays the Online View button that links to the online version of the current page, for example on access.redhat.com or docs.redhat.com. Recommended if you have an internet connection.

SOLR_MEM

The desired memory heap size, for example 4g

Sets the minimum (-Xms) and maximum (-Xmx) heap size for the Solr JVM. The default setting is 1g.

UNCLASSIFIED_BANNER

true or false

When set to true, displays a green UNCLASSIFIED banner to help users distinguish between classified and unclassified pages. When set to false or omitted, no banner appears. Typically used in government environments.

Prerequisites

Procedure

  • When you launch the Red Hat Offline Knowledge Portal image, include environment variables in your launch command, for example:

    $ podman run --rm -p 8080:8080 -p 8443:8443 \
    --env "ACCESS_KEY=<your_personal_access_key>" \
    --env "UNCLASSIFIED_BANNER=true" \
    -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest

    where:

    <your_personal_access_key>

    Specifies the access key that you generated on the Access Key Generator page.

    In this example the Red Hat Offline Knowledge Portal launches with access to all areas of the Red Hat Offline Knowledge Portal and the UNCLASSIFIED banner is displayed on pages that are not flagged as classified.

To use all of the features of the Red Hat Offline Knowledge Portal you must have a valid access key, which is provided with your Red Hat Satellite subscription. However, if you do not have a Red Hat Satellite subscription, you can launch the Red Hat Offline Knowledge Portal without an access key to use it with limited functionality.

If you launch the Red Hat Offline Knowledge Portal without an access key, the search function is not available and the Documentation tile is the only tile that you can open. You can browse the documentation library, however you cannot search for anything within the Red Hat Offline Knowledge Portal. You can access data for common vulnerability and exposure (CVE) and advisory documents by entering the specific path to the document, or by clicking a link in a document within the Red Hat Offline Knowledge Portal. The content in the Solutions and Articles tiles is unavailable.

Prerequisites

  • A downloaded Red Hat Offline Knowledge Portal image.
  • Your Customer Portal, Red Hat Developer, or registry service account credentials. To create a registry service account, go to the Registry Service Account page.
  • An open container initiative (OCI) runtime tool. Podman is the OCI tool developed by Red Hat engineers and used in this procedure. For information about installing Podman, see the Podman website.

Procedure

  1. Launch the Red Hat Offline Knowledge Portal without an access key. The following example shows how to launch with Podman:

    $ podman run --rm -p 8080:8080 -p 8443:8443 \
    -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest

    When you launch the Red Hat Offline Knowledge Portal without an access key, you will see a banner at the top of the screen alerting you that you have limited access to the Red Hat Offline Knowledge Portal.

Verification

  1. On a remote system with a web browser, enter http://<server-ip-address>:8080 or https://<server-ip-address>:8443.

    where:

    <server-ip-address>
    Specifies the IP address of your server.
  2. To review the Podman container log, enter the following command:

    $ podman logs <container>

    where:

    <container>
    Specifies the Red Hat Offline Knowledge Portal container name or ID.

Chapter 6. Provide feedback

You can create a Jira issue to provide feedback on documentation, to request a feature, or to report a bug or security issue.

Prerequisites

Procedure

  1. Enter the following URL and then click Create. The Create Issue form opens.

    https://issues.redhat.com/projects/RHOKP
  2. Complete the Summary and Description fields. In the Description field, include information about the issue, for example the documentation URL or details about the feature request.
  3. Click Create. Your Jira issue is created in the Red Hat Offline Knowledge Portal Jira project, where you can track its progress.

Legal Notice

Copyright © Red Hat.
Except as otherwise noted below, the text of and illustrations in this documentation are licensed by Red Hat under the Creative Commons Attribution–Share Alike 3.0 Unported license . If you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, the Red Hat logo, JBoss, Hibernate, and RHCE are trademarks or registered trademarks of Red Hat, LLC. or its subsidiaries in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
XFS is a trademark or registered trademark of Hewlett Packard Enterprise Development LP or its subsidiaries in the United States and other countries.
The OpenStack® Word Mark and OpenStack logo are trademarks or registered trademarks of the Linux Foundation, used under license.
All other trademarks are the property of their respective owners.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top