I use a docker command line to share filesystem like this:
docker run --rm -it -v /home/docker/vol/svn/:/data/svn/ devbase /bin/bash
Then compile the codes in the container and it will generate some binary files in volume
I want to delete binary files on host but i don’t have root permission
Unfortunately, files created by container belong to the root user
So how can i delete those binary files on host without root OR is there a way to modify file permission in container?
Thanks a lot