Skip to content

Commit eaacd16

Browse files
committed
ephemeral: Never pull
I think we should only operate on extant container images, we're not the same thing as `podman|docker run` in that sense. Signed-off-by: Colin Walters <[email protected]>
1 parent 7625a2b commit eaacd16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/kit/src/run_ephemeral.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ fn prepare_run_command_with_temp(
374374
// Run the container with the setup script
375375
let mut cmd = Command::new("podman");
376376
cmd.arg("run");
377+
// We don't do pulling because then we'd have to propagate all the authfile
378+
// and status output for that in the general case.
379+
cmd.arg("--pull=never");
377380
// We always have a label
378381
cmd.arg("--label=bcvk.ephemeral=1");
379382
for label in opts.podman.label.iter() {

0 commit comments

Comments
 (0)