The instructions show /home/student/.... but the solution shows /home/podsvc. I tried to create a directory in the podsvc home directory as the podsvc user and got permission errors.
Use the /home/student/webserver/html/ directory as persistent storage for the web server container. Create the index.html test page with the Welcome to the webserver container content.
Create the ~/webserver/html/ directory.
[podsvc@serverb ~]$ mkdir -p ~/webserver/html/
Create the index.html file and add the Welcome to the webserver container content.
[podsvc@serverb ~]$ echo "Welcome to the webserver container" > \ ~/webserver/html/index.html
Verify that the permission for others is set to r-x in the webserver/html directory, and is set to r-- in the index.html file. The container uses a non-privileged user that must be able to read the index.html file.
[podsvc@serverb ~]$ ls -ld ~/webserver/html/ drwxr-xr-x. 2 podsvc podsvc 24 Jul 10 05:42 /home/podsvc/webserver/html/ [podsvc@serverb ~]$ ls -l ~/webserver/html/index.html -rw-r--r--. 1 podsvc podsvc 21 Jul 10 05:42 /home/podsvc/webserver/html/index.html
@olabodefuwa Thanks for reaching out.
This issue has already been reported and will be fixed in the next release.
Reference: https://issues.redhat.com/browse/PTL-14016
@olabodefuwa Thanks for reaching out.
This issue has already been reported and will be fixed in the next release.
Reference: https://issues.redhat.com/browse/PTL-14016
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.