Skip to main content

ImageStoreHandles

Type Alias ImageStoreHandles 

Source
pub type ImageStoreHandles = (Arc<LocalRegistry>, Arc<Box<dyn BlobCacheBackend>>);
Expand description

The runtime’s already-open image-store handles: its LocalRegistry plus the shared, single-process-exclusive blob cache. Returned by Runtime::image_store_handles so callers (the POST /images/import handler) can reuse the daemon’s open store rather than opening a second handle (which would fail with “database is locked by another process”).