Issues with docker registry API and garbage-collect

hi all,
I deploy a local registry as bellow


After push an image to that local, I delete this image from local registry by Docker Registry HTTP API V2

And then run garbage collect

docker exec registry bin/registry garbage-collect /etc/docker/registry/config.yml

After that I push the same image, that I push before, to local host and try to pull it from my localhost, I got error
“Error response from daemon: manifest for localhost:5000/my-ubuntu:latest not found: manifest unknown: manifest unknown”.
And when I try to delete this image again I got status " HTTP/1.1 404 Not Found"

Any one know what wrong and how to fix it?

1 Like

I have the same issue with my registry.
Any ideas how to fix it?