fix: Use sudo for skopeo copy for rechunk

This commit is contained in:
Gerald Pinder 2025-03-26 13:02:55 -04:00
parent 7cdb582125
commit 290fbc829b
5 changed files with 56 additions and 21 deletions

View file

@ -489,11 +489,8 @@ impl ContainerMountDriver for Driver {
#[cfg(feature = "rechunk")]
impl OciCopy for Driver {
fn copy_oci_dir(
oci_dir: &self::types::OciDir,
registry: &oci_distribution::Reference,
) -> Result<()> {
SkopeoDriver::copy_oci_dir(oci_dir, registry)
fn copy_oci_dir(opts: &opts::CopyOciDirOpts) -> Result<()> {
SkopeoDriver::copy_oci_dir(opts)
}
}