Manus
Cadet
Cadet
  • 840 Views

DO180 Chapter2 issue with podman run -d -p 8080 registry.redhat.io/rhel8/httpd-24

Jump to solution

When I run above cmd 

podman run -d -p 8080 registry.redhat.io/rhel8/httpd-24

I got an error. unable to retrieve auth token invalid username......

Any advised?

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
Nicolabe
Cadet
Cadet
  • 802 Views

You shall use: podman login registry.redhat.io  and insert username and passoword of your red hat account.

After the login you will be able to do podman run on the remote registry.

View solution in original post

3 Replies
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 829 Views

You must run the end-of-chapter 1 lab (Guided Exercise 1.7) before you can do any other lab -- did you do that?  The one that begins:

In this exercise, you will configure the workstation to access all infrastructure used by this course.

Also, did you log into registry.redhat.io before trying to pull / run an image from that registry?

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
Manus
Cadet
Cadet
  • 812 Views

Hi,

I already executed step 1.7 for sure but issue still persist. 

How to log into registry.redhat.io ?

Nicolabe
Cadet
Cadet
  • 803 Views

You shall use: podman login registry.redhat.io  and insert username and passoword of your red hat account.

After the login you will be able to do podman run on the remote registry.

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