From a0b256015bc7f30814adb5796326d49d81eaca1a Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Sun, 6 Oct 2024 12:25:15 -0400 Subject: [PATCH] fix: Remove --load for docker build since we no longer pull the image for inspection --- process/drivers/docker_driver.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/process/drivers/docker_driver.rs b/process/drivers/docker_driver.rs index 19f3d61f..3176eec5 100644 --- a/process/drivers/docker_driver.rs +++ b/process/drivers/docker_driver.rs @@ -23,8 +23,7 @@ use tempdir::TempDir; use crate::{ drivers::{ opts::{RunOptsEnv, RunOptsVolume}, - types::{InspectDriverType, Platform}, - Driver, + types::Platform, }, logging::CommandLogging, signal_handler::{add_cid, remove_cid, ContainerId, ContainerRuntime}, @@ -310,13 +309,6 @@ impl BuildDriver for DockerDriver { "type=image,name={first_image},push=true,compression={},oci-mediatypes=true", opts.compression ), - // Load the image to the local image registry - // if the inspect driver is docker so that - // we don't have to pull the image again to inspect. - if matches!( - Driver::get_inspect_driver(), - InspectDriverType::Docker, - ) => "--load", ); } else { cmd!(command, "--load");