cancel
Showing results for 
Search instead for 
Did you mean: 
Orphen
Cadet
Cadet
  • 308 Views

I'm finishing (RH304) v10.0 and I have issues with podman

Hello All! 

I'm mastering skills of redhat right now in order to pass ex200 v10.

I am strugling right now with an issue happened in labs and also my personal machine.

This point exactly say this:

sudo podman run \
--rm \
-it \
--privileged \ 
--security-opt label=type:unconfined_t \
-v ./config.toml:/config.toml \  
-v ./output:/output \ 
registry.redhat.io/rhel10/bootc-image-builder \
--type qcow2 \ 
registry.lab.example.com/user/bootc-httpd:latest 

 

But when I run it, it says

2025/11/02 19:39:44 error: cannot build manifest: could not access container storage, did you forget -v /var/lib/containers/storage:/var/lib/containers/storage? (cannot find "/var/lib/containers/storage/overlay" (missing -v /var/lib/containers/storage:/var/lib/containers/storage mount?))

 
O the page, there is no explanation about storage. What I missing here? I am not used to manage podman.. Firsts steps here.

 

Thank you for reading.

Labels (2)
4 Replies
TudorRaduta
Community Manager
Community Manager
  • 114 Views

If the issue continues, I’d recommend opening a support case so our support team can check it directly in your lab and help you fix it.

If you have an RHLS Standard or Premium subscription, you can also start a live expert chat with one of our course specialists (available 24x5).

 

0 Kudos
Travis
Moderator
Moderator
  • 97 Views

@Orphen - What exercise from RH304 are you attempting to complete as that is missing here? Also, it there are other things that would cause this to fail on your home computer since you aren't in the lab environment. 

registry.lab.example.com/user/bootc-httpd:latest 

is unique to our classroom lab environment, so that definitely wouldn't work on your home system.

I'm unable to find where you do this as an exercise in the book, but there are examples like this in Chapter 6. The thing is, you can't just copy a command like that from the book like Guided Exercises. These examples need to be setup and aren't generally runnable from a single box. 

For example ... did you create the directory inside the project? Did you create the TOML file that is mounted into the container? Those are pre-requisites. 

You need to do Guided exercise 6.6 as the lab pieces because the only thing I can think you are referring to is lecture content and an example pulled from Section 6.5 which isn't meant to be a copy/paste exercise or even work on the lab environment or your system the way the box is written.

 

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
Orphen
Cadet
Cadet
  • 69 Views

Fist I triyed on the course labs, within redhat labs. 

when it didn't worked I tryed on home lab with the same result, I followed the steps of the course. 

0 Kudos
Travis
Moderator
Moderator
  • 54 Views

@Orphen -

Again, to be clear, the Guided Exercises (GEs) and Labs (EoC Lab) will never run or work properly on your home lab environment as you are missing all sorts of pieces. We have lab scripts and other assets in our classroom environment and multiple VMs that are used. We also have container registries and images that are available there that would not be accessible via your home environment.

The lines you pasted that wouldn't work were from the lecture and example and aren't part of a GE or EoC Lab, so it is not surprising that those commands produce poor results. Additionally, as stated, there are several pieces that would need to be there for those commands to work.

In our courses, the content students are supposed to "type" and exercises that are supposed to be "performed" start on pages that say "Guided Exercise" or "Lab" or "Comprehensive Review". They will have numbered steps with explanations for the GEs and solutions are also available for labs. Additionally, these exercises will have a "Before you begin" and "Finish" section where you will run lab start XXX and lab finish XXX to prepare the lab environment for the exercise.

If you are running a different exercise that doesn't work, please let us know what it is, but the one that you have placed as the topic of this article is not a hands-on exercise as stated in my original response.

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
Join the discussion
You must log in to join this conversation.