Not Finding openssh-server-8.0p1-3.el8.x86_64.rpm in REDHAT ubi 8 docker image

Latest response

We are pulling the redhad ubi8 standard docker image from the repo registry.access.redhat.com/ubi8/ubi:latest

But we also require openssh-server-8.0p1-3.el8.x86_64.rpm for sshd to run.Currently we see it is not available in the redhad ubi8 standard docker image. How can we get these additional rpms?

Responses

Hi Madhavi,

You have two options, either you register the system running within the container and attach it to a subscription, or you can download the openssh-server package, copy it into the (not running) container ... and install it from within there manually. :)

Regards,
Christian

We're facing the same. How come openssh-server cannot be found via yum? Is there a way to install via yum without attaching to a subscription?

-> yum install openssh-server
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 0:14:28 ago on Mon 19 Jul 2021 07:30:47 PM UTC.
No match for argument: openssh-server
Error: Unable to find a match: openssh-server