cancel
Showing results for 
Search instead for 
Did you mean: 
ClusterCaptain
Mission Specialist
Mission Specialist
  • 1,317 Views

RH134 - Chapter 18 Guided Exercise: Create Installable Images for Image Mode Error

For the RHEL 10 version of the course

Chapter 18 Guided Exercise: Create Installable Images for Image Mode

Step 4, building the image, fails with the following error message:

STEP 3/4: RUN dnf install -y httpd && systemctl enable httpd
error running container: from /usr/bin/crun creating container for [/bin/sh -c dnf install -y httpd && systemctl enable httpd]: mount `proc` to `proc`: Operation not permitted
: exit status 1
Error: building at STEP "RUN dnf install -y httpd && systemctl enable httpd": while running runtime: exit status 1

11 Replies
Wasim_Raja
Moderator
Moderator
  • 1,051 Views

@ClusterCaptain Lrt me try this and let you know

Wasim_Raja
Moderator
Moderator
  • 1,046 Views

@ClusterCaptain I tried the exercise and it is working

Wasim_Raja_0-1757925766307.png

Can you give it a try again in a fresh lab?

ClusterCaptain
Mission Specialist
Mission Specialist
  • 962 Views

I still get the same error, even after a lab refresh.

Chetan_Tiwary_
Community Manager
Community Manager
  • 949 Views

@ClusterCaptain lab refresh means delete and recreate ?

0 Kudos
ClusterCaptain
Mission Specialist
Mission Specialist
  • 925 Views

Yes, I have deleted and recreated the lab, but still no luck

TudorRaduta
Community Manager
Community Manager
  • 901 Views

The best is to raise a support ticket directly from the platform so the lab engineers can review your issue.

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,029 Views

@ClusterCaptain I agree with Wasim that the lab is working fine. You can delete your existing lab and recreate a fresh lab - and then retry this. 

Please let us know how it went in a fresh lab.

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 881 Views

@ClusterCaptain I did this lab multiple times today and never for once it failed for me :

Chetan_Tiwary__0-1758140870272.png

 

Chetan_Tiwary__1-1758140882128.png

 

with which user are you running the podman build command ? Can we see your containerfile ? Are you using the correct parent image : 

registry.lab.example.com:5000/rhel10/rhel-bootc

I am pretty sure if you rebuild your lab env - it will be resolved for you. 

This is some kind of a nested rootless podman issue because may be you are using wrong parent image which does not have the privilege or the systemd support.

 

 

0 Kudos
JayBee91
Mission Specialist
Mission Specialist
  • 736 Views

I am getting the exact same error that @ClusterCaptain got when I am trying this same Guided Exercise.

I also tried deleting my entire Lab Environment and creating a new Lab and am still getting the error.

I did NOT hand jam the entries in the Containerfile; I copied them from one browser tab (CMD-C on my Mac) and pasted them (CMD-V) into the tab with my vim Containerfile open in INSERT mode.

RH134-Ch18S04-Error1.png

RH134-Ch18S04-Error2.png

  

Join the discussion
You must log in to join this conversation.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.