Function brane_tsk::docker::save_image
source · pub async fn save_image(
docker: &Docker,
image: impl Into<Image>,
target: impl AsRef<Path>,
) -> Result<(), Error>
Expand description
Saves an already pulled image to some file on disk.
§Arguments
docker
: An already connected local instance of Docker.image
: The Docker image name, version & potential digest of the image to write to disk.target
: The location to write the image to.