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

DO188 C04S07: Inexistent nodejs version given in a Containerfile during lab start

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      lab start custom-lab

      cd /home/student/DO188/labs/custom-lab

      podman build .

      ...

      [2/2] STEP 1/5: FROM registry.ocp4.example.com:8443/ubi9/nodejs-22:1
      Trying to pull registry.ocp4.example.com:8443/ubi9/nodejs-22:1...
      Error: creating build container: initializing source docker://registry.ocp4.example.com:8443/ubi9/nodejs-22:1: reading manifest 1 in registry.ocp4.example.com:8443/ubi9/nodejs-22: name unknown: repository not found

      Show
      lab start custom-lab cd /home/student/DO188/labs/custom-lab podman build . ... [2/2] STEP 1/5: FROM registry.ocp4.example.com:8443/ubi9/nodejs-22:1 Trying to pull registry.ocp4.example.com:8443/ubi9/nodejs-22:1... Error: creating build container: initializing source docker://registry.ocp4.example.com:8443/ubi9/nodejs-22:1: reading manifest 1 in registry.ocp4.example.com:8443/ubi9/nodejs-22: name unknown: repository not found
    • en-US (English)
    • AppDev Sprint May1 - May15

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      The command lab start custom-lab generates a Containerfile with a reference to a non-existent nodejs image and there is no reference/guidance in the solution to fix this.

      Steps to reproduce:

      lab start custom-lab

      cd /home/student/DO188/labs/custom-lab

      podman build .

      Workaround:

      Change the line:
      FROM registry.ocp4.example.com:8443/ubi9/nodejs-22:1

      to:
      FROM registry.ocp4.example.com:8443/ubi9/nodejs-18:1

      Expected result:

      The base image should be pulled or the Lab Instructions should state that the user should replace the image to something that is available in the lab registry (by using podman search, for example)

              rht-zgutterman Zachary Gutterman
              skareiva Simonas Kareiva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: