cancel
Showing results for 
Search instead for 
Did you mean: 
  • 558 Views

Error:error pulling image "registry.redhat.io/ubi8/ubi:latest

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

0 Kudos
1 Reply
  • 553 Views

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

0 Kudos
Join the discussion
You must log in to join this conversation.