remove_image

Function remove_image 

Source
pub fn remove_image(repo: &Repo, img: &ImageReference) -> Result<bool>
Expand description

Remove the specified image reference. If the image is already not present, this function will successfully perform no operation.

This function assumes no transaction is active on the repository. The underlying layers are not pruned; that requires a separate invocation of gc_image_layers.