-
Bug
-
Resolution: Done
-
Minor
-
DO180 - OCP4.14-en-2-20240530
-
None
-
False
-
-
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: