I have created an image say Img1 from dockerfile. Then created a container say Cnt1 from that image.
Then made some changes in container Cn1.
After some days I committed Cn1 to new image say Img2.
Now created new container say Cn2 from new image img2.
Now getting an error while trying to delete some existing directories in new container i.e Cn2.
Using rm -rf command getting error message
rm: cannot remove ‘ssl-cert-mgmt/META-INF/maven/com.grit.ssl’: Directory not empty
Yes correct, If i make another folder I am able to delete it but deletion of existing folder is not happening. Its deleting all files of existing folder but not deleting the folder.
I did not found any way to find the folder is used by any process.