Using RHEL-based-Docker-containers

You can download ZendPHP and ZendHQ images for RHEL 8 and 9 and use these as-is. For more information, see Using ZendPHP via Docker and ZendHQ Docker Image.

If you are a RHEL customer and need to install the EPEL repository, or use subscription-only packages within your RHEL-based image, an additional step is required. You must register the Red Hat Subscription-Manager and attach the RHEL repositories in your Dockerfile that contains the commands that assemble the image.

  1. Use the following command to register the system and automatically associate any available subscription matching that system:

    subscription-manager register --username {USERNAME} --password {PASSWORD}

    Provide your RHEL username and password.

  2. After registration, use the following command to attach any subscription that matches the current system.

    subscription-manager attach --auto