I created a docker container that shares a folder with its host using the following command:
docker run -dit -P -v $(pwd):/home/shared ubuntu
The container became unresponsive so I deleted it and pruned it using the following steps mentioned here:
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
docker system prune
Now, I would like to delete the file that resides on the host and was created by the container. However, I keep getting this error msg:
rm file1
rm: remove write-protected regular file ‘file1’? Y
rm: cannot remove ‘file1’: Permission denied
I don't have sudo privilege on this host, can I do something about it, or do I need to ask the system administrator's help for this?
Thank you