File removal with oc debug is not working as expected
Issue
- How can I run a deletion command in a debug container? Tried the following but non of the options is working:
oc debug dc/foo-bar -- "rm -rf src;"
oc debug dc/foo-bar -- "/bin/rm -rf src;"
oc debug dc/foo-bar -- "/bin/rm -rf /go/src;"
oc debug dc/foo-bar -- "/bin/rm -rf /go/*"
Environment
- Red Hat OpenShift Container Platform 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
