For RHEL 8 image (redhat/ubi8) everything works well.
It looks like redhat updated ubi8 too, same problem occurs with 8.7-929
.
8.6-990
is working okay, for now downgrading to that one is a possible workaround.
Unfortunately, Redhat changed the way subscription managers work in containers:
See their official documentation on running ci/cd inside ubi containers
Thread on redhat forums discussing this change:
Someone mentioned using
ENV SMDEV_CONTAINER_OFF=1
In the dockerfile for a possible workaround. That didn't work for ubi8, maybe you can try for ubi9 and see it it fixes it.
Unfortunately, this is also just a workaround... as far as I can see, the only real fix is to run the container on a registered RHEL machine (since the container now takes the subscription info from the host).
This really is a shame, redhat basically butchered the ubi images with this move... Having a container be bound to a specific host OS seems like a really bad idea.