How to remove file/folder from Docker container without starting this container? "Docker exec containerID rm filePath" can do it but it requires container in start state.
The only other way I can find is to create a Dockerfile and put a RUN rm /path/file/you/want/to/rm
into it...
Why want you to remove a file or a path without starting your container ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With