Files are getting corrupted

hello guys

i created container, installed mysql, grafana, apache2, and made some bash scripts…
Once i was done with work, I wanted to commit the container to image so i can reuse it and have some backup of my work.
So i stopped the mysql server, i stopped grafana and i stopped container itself.
Then i committed it into image and once i started and created new container, i noticed some issues with files:

[root@cont_name:/some_folder]# ls -l
ls: cannot access ‘file1’: No such file or directory
ls: cannot access ‘file2’: No such file or directory
ls: cannot access ‘file3’: No such file or directory
total 760
??? ? ? ? ? ? file1
??? ? ? ? ? ? file2
??? ? ? ? ? ? file3
-rw-r–r–. 1 root root 10092 Feb 26 10:03 file4

So the files doesnt have permission and i cant see any information about them.
Iam also unable to remove this files.

This already happened to me once, and i had to rebuild the whole container.
Is there any solution how to fix this?
Is there any way how to prevent this kind of file corruption?
In host system, i see the files as “c---------.” and in yellow color in “ls -l” command output.

host OS: centos 7
docker image: debian