Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-16044

RH134v10.0: ch17s07 : step 3.3. you add /. at the end - this will give error for wrong context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • RH134 - RHEL10.0-en-2-20250821
    • RH134
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 17
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh134-10.0/pages/ch17s07 
      Reporter RHNID: chetan-rhls
      Section Title:    Lab: Manage Containers with Podman                                                                      

      Issue description: 

        rh0005l-10.0 + When giving the solution for 3.3. you add /. at the end - this will not work for students and give them the following error code in the lab when building their directory from previous steps: 
      "Error: context must be a directory: "/home/student/custom_app/." 

      "3.3 Create the container image from the container file. Define 1.0 as the tag of the image.

      student@workstation:~$ podman build -t custom_app:1.0 /home/student/custom_app/.
      STEP 1/2: FROM registry.lab.example.com:5000/rhel10/httpd-24
      STEP 2/2: RUN echo "This is my containerized webserver." > /var/www/html/index.html
      COMMIT custom_app:1.0
      --> f8f36fe8e2ed
      Successfully tagged localhost/custom_app:1.0
      f8f3...a324"

      Recommend you re-write:

      ""3.3 Create the container image from the container file. Define 1.0 as the tag of the image.

      student@workstation:~$ podman build -t custom_app:1.0 /home/student/custom_app"

      DO NOT include "/." at the end of the solution. 

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-hybridcloud@redhat.com PTL - RHEL Team
              chetan-rhls Chetan Tiwary
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: