mairin
Cadet
Cadet
  • 315 Views

Solution for podman image inspect not working in first video of chapter 3

Thought I'd put this out there in case anybody else runs into it. If you follow along with the instructor in chapter 3, you'll get to about 10:30 in the video and notice that the podman image inspect command will not run as it does in the video:

[student@workstation ~]$ podman image inspect quay.io/rdacosta/my_httpd:latest
[]
Error: inspecting object: quay.io/rdacosta/my_httpd: image not known

 

What you have to do is pull the image before you can inspect it:

[student@workstation ~]$ podman image pull quay.io/rdacosta/my_httpd:latest

 

3 Replies
Chetan_Tiwary_
Moderator
Moderator
  • 287 Views

Thanks @mairin for letting us know. I will check that and raise a flag for this. 

0 Kudos
Travis
Moderator
Moderator
  • 278 Views

@Chetan_Tiwary_ -

I don't actually know if you need to create or raise an issue for this. You are supposed to replace the QUAY_USER with your user. The instructor Ricardo is using his QUAY account and user and students should be using theirs. So, technically, in the demo he is using 

quay.io/rdacosta/my_httpd

but students should be replacing their user in the example. Because we all have public unlocked repositories, it is possible for students to download Ricardo's image. If he ever deletes it, they won't even be able to perform a podman pull.

 

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
0 Kudos
Chetan_Tiwary_
Moderator
Moderator
  • 275 Views

@Travis The issue highlighted here is that in the video of ch03s01 - around 10:18 timestamp - instructor uses podman inspect command on the image my_httpd directly without showing that the image has to be available locally to do the podman inspect step.

So, any learner who is doing the podman inspect directly will get the error what @mairin is getting. The image has to be pulled first ( It can be any image - quay.io/learner/image ).

I think to inspect an image remotely - we need to use skopeo inspect 

Chetan_Tiwary__0-1697494622056.png

 

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