The CH4 SEC 4 guided exercise says to add this command to the containerfile:
VOLUME /redhat/materials
Then the lab instructs us to find the numbers.txt file by looking for the 'Mounts' section when inspecting the custom-advanced image.
I was able to build and test the image successfully but unable to locate the SOURCE path for the numbers.txt file. The commands provided in the guided exercise fail to show me that path as well.
Thanks for your response, I will redo this lab following your guidance and if i succeed will mark your response as solution. Give me the rest of day and I will update.
So if you are attempting to do this exercise as it is in the book, pay closer attention to step 6.2, there isn't the "--rm" option provided. I suspect you aren't getting the mounted volume from above which is why your environment isn't working. I would attempt to try that first.
Thanks for your response, I will redo this lab following your guidance and if i succeed will mark your response as solution. Give me the rest of day and I will update.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.