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
And using rm -r command getting error message
rm: cannot remove ‘ssl-cert-mgmt/META-INF/maven/com.grit.ssl/ssl-cert-mgmt’: Invalid argument
Anybody got such kind of issues. Please let me know.