I cannot pull docker images that i have built locally

When i am building a dockerfile in ubuntu, it shows on my docker desktop but when i try to pull it , i am getting an error

    View a summary of image vulnerabilities and recommendations → docker scout quickview grandine:local
Error response from daemon: pull access denied for grandine, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

I have tried logging out and then in but it is all in vain.
Thank you

When do you get this error? What command you run? You don’t have to pull locally built images and if you try it will not work and get the error you got. There was a bug before that had a similar effect, but it could be also something in your workflow that tries to pull all images even if there is nothing to pull. For example

docker compose up --pull=always