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

DO180: Ch03s05: Typo mistake should be "index.html" instead of "index.bak"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • DO180 - OCP4.x NEXT
    • DO180 - OCP4.14-en-2-20240530
    • DO180
    • None
    • False
    • Hide

      None

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

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/do180-4.14/pages/ch03s05
      Reporter RHNID: wasim-rhls
      Section Title:             Troubleshoot Containers and Pods                                                           

      Issue description

      [user@host ~]$ oc cp /tmp/index.html apache-app-kc82c:/var/www/htnl/ 
      [user@host ~]$ oc exec -it apache-app-kc82c – ls /var/www/html

      index.bak
       

       

      It seems that if you copy /tmp/index.html to the container, the out  of the ls command on the container should be index.html.

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              rh-ee-jyague Jaime Yague
              wraja@redhat.com Wasim Raja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: