Page MenuHomePhabricator caches images missing instead of revalidating
Closed, ResolvedPublic


I sometime forget to build and publish an image. The Jenkins job thus fail with:

docker: Error response from daemon: manifest for not found.

After building and publishing it, the image can still not be found for a few minutes. Even when requested from a different host. Thus it seems to me the Wikimedia Docker registry caches images miss. I can't tell whether it is due to the Nginx cache or the registry itself.

Event Timeline

Change 481093 had a related patch set uploaded (by Alexandros Kosiaris; owner: Alexandros Kosiaris):
[operations/puppet@production] docker::registry: Add Cache-Control header

Change 481093 merged by Alexandros Kosiaris:
[operations/puppet@production] docker::registry: Add Cache-Control header to avoid caching

akosiaris claimed this task.

With the merge of the above, this is probably resolved for now. Note that newly pushed images right before this was live may take up to 1 day to show up. I 'll resolve, but feel free to reopen