Docker Community Forums

Share and learn in the Docker community.

Docker Hub Api delayed

dockerhub

(Hyposimon) #1

Hello,

i got a small problem with the delay of the docker hub api … especially with the “GET /v1/repositories//tags” function.
After pushing an image to docker hub, i try to find out if the pushed image with the new tag is truly present. If i try to get all current tag with “GET /v1/repositories//tags” i just get the old ones.
The new pushed tag isnt in the response. if i try the same call 5 min later the new tag is finally in.
After pushing, i can see the new tag “instantly” on hub.docker.com in my overview … but the api delayed the new “information”.

Is there any solution to deactivate such api cache? Or any other way to get the remote tags around 10 seconds after pushing??

regards Michael