get_imgref

Function get_imgref 

Source
pub(crate) fn get_imgref(transport: &str, image: &str) -> String
Expand description

skopeo (in composefs-rs) doesn’t understand “registry:” This function will convert it to “docker://” and return the image ref

Ex docker://quay.io/some-image containers-storage:some-image docker-daemon:some-image-id