When doing this part of the lab
[lab@utility ~]$ sudo podman pull --authfile ~/pull-secret-oneline.json \
> registry.redhat.io/ubi8/ubi:latest
It says unable to retrieve auth token: invalid username and password.
I am able to login succussfully with podman to registry.redhat.io on the command line:
[lab@utilily~]$podman login registry.redhat.io
Username:<my_email>
Password:<my_password>
Login Succeeded!
I have recreated the pull-secret, still does not work.
The first podman pull worked:
[lab@utility ~]$ sudo podman pull --authfile ~/pull-secret-oneline.json \
> nexus-registry-int.apps.tools-na150.prod.ole.redhat.com/openshift/ocp4:4.6.4-x86_64
Just an update to to confirm. I can pull the images when I substitute my username and password with --creds instead of using --authfile and the pull-secret-online.json file
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.