Tracy_Baker
Starfighter Starfighter
Starfighter
  • 89 Views

Errors in RH134 (v9) chapter 11, section 4 Guided Exercise inconsistencies

RH134 (v9) chapter 11, section 4 Guided Exercise

First... I examined these instructions on October 7th. Today is November 3rd. In a month, these instructions were changed with (apparently) no notification that they had been. The change appears to be minor: all references to pyhton36 were changed to python39. However, it makes me wonder what else has changed that we don't know about - where's the changelog?

Edit: I was wrong. The Containerfile was significantly changed.

(Also, has the lab image been updated? Is that the reason for the change from Python36 to Python39? With the image I have, the lab start containers-deploy script always fails on the Creating required files on servera step - where it is to create Containerfile in the /home/student/python36 directory.)

Keeping in mind that these labs are supposed to be for people with no experience, the following things in this lab are incorrect and should be changed:

Step 4.1
Wrong: "Search for a python-38 container in the registry.lab.example.com registry."

Right: "Search for a python-38 image in the registry.lab.example.com registry."

Step 4.4
Wrong: "Verify that the container is downloaded to the local image repository."

Right: "Verify that the image is downloaded to the local image repository."

In the section before the lab (section 3), it specifically states this, "You must be in the directory with the container file to build the image with the podman build command."

In light of that sentence, Steps 5.1, 5.2, and 5.3 instructions and examples should be changed to maintain consistency:

5.1 Changes
From:

Examine the container file in the /home/student/python39 directory.

[student@servera ~]$ cat /home/student/python39/Containerfile

To:

Change into the /home/student/python39 directory and examine the Containerfile.

[student@servera ~]$ cd /home/student/python39/Containerfile

[student@servera python39]$ cat Containerfile

5.2 Changes
From:

Create the container image from the container file.

[student@servera ~]$ podman build -t python39:1.0 /home/student/python39/.

To:

Create the container image from the container file.

[student@servera python39]$ podman build -t python39:1.0 .

5.3 Changes
From:

Verify that the container image exists in the local image repository.

[student@servera ~]$ podman images

To:

Change to student's home directory and verify that the container image exists in the local image repository.

[student@servera python39]$ cd

[student@servera ~]$ podman images

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
Labels (4)
0 Replies
Join the discussion
You must log in to join this conversation.