feat: implement on-disk indexes of images

This commit is contained in:
Alex Zenla
2024-04-16 13:55:40 +00:00
parent ac3eca3ebb
commit 7ebcc3d4ab
9 changed files with 228 additions and 55 deletions

View File

@ -51,7 +51,7 @@ impl Daemon {
image_cache_dir.push("image");
fs::create_dir_all(&image_cache_dir).await?;
let packer = OciPackerService::new(None, &image_cache_dir, OciPlatform::current())?;
let packer = OciPackerService::new(None, &image_cache_dir, OciPlatform::current()).await?;
let runtime = Runtime::new(store.clone()).await?;
let guests_db_path = format!("{}/guests.db", store);