'Getting error while running local docker registry

I am getting while running local docker registry on centos system. I am explaining the error below.

docker: Error response from daemon: lstat /var/lib/docker/overlay2/3202584ed599bad99c7896e0363ac9bb80a0385910844ce13e9c5e8849494d07: no such file or directory.

I am setting of the local registry like below.

vi /etc/docker/daemon.json:

{ "insecure-registries":["ip:5000"] }

I have the registry image installed my system and I am running using the below command.

docker run -dit -p 5000:5000 --name registry bundle/tools:registry_3.0.0-521

I have cleaned all volume as per some suggestion from google but still same issue. Can anybody help me to resolve this error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source