Skip to main content

copy_image

Function copy_image 

Source
pub async fn copy_image(
    conn_src: &mut Connection,
    conn_dest: &mut Connection,
    handle_src: u64,
    handle_dest: u64,
    image: &OciReference,
    name: Option<&str>,
    zerocopy: bool,
) -> Result<FinalizeImageReply>
Expand description

Copy an OCI image (and all its layers) from one repository to another using varlink connections.