[On demand Mirroring] How to check if an image is properly mirrored on Zot #1807
-
Hi 👋 When configured with on demand mirroring, is there a way to just check if an image is cached (all layers presents) in a Zot registry using the REST API without triggering an image synchronization? From my understanding as soon as we will try to Thanks for your support, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you have only on-demand sync enabled, then yes.
The only real way is to do a HEAD/GET, which will return "not found" until it has landed fully. No webhooks-style callbacks etc if that is what you are looking for. If a sync is already in progress, a new one is not scheduled. |
Beta Was this translation helpful? Give feedback.
@loicalbertin
If you have only on-demand sync enabled, then yes.
The only real way is to do a HEAD/GET, which will return "not found" until it has landed fully. No webhooks-style callbacks etc if that is what you are looking for. If a sync is already in progress, a new one is not scheduled.