multipass icon indicating copy to clipboard operation
multipass copied to clipboard

[Feature] Add image cache management commands and speed up image downloads with torrent client

Open pcgeek86 opened this issue 6 years ago • 3 comments

I just had an idea as I was experimenting with multipass yesterday. It would be pretty cool if you had the choice to use torrents to download operating system images, as this is typically much faster than a direct HTTP or FTP download.

In addition, it would be cool to have image cache management commands to download, list, purge, and search for remote images.

Here's how I would envision exposing the torrent option:

# Download an image, without creating a virtual machine, using torrent client
multipass download ubuntu-lts --torrent

# Passes through --torrent parameter to the download command above
multipass launch --torrent 

Thoughts?

pcgeek86 avatar Jan 31 '19 19:01 pcgeek86

Hey, I don't think we'll use torrent to download the images, there is an idea to use zsync (#271) where available. We'll introduce some cache management commands, but we also want to keep our CLI clean and focused, so it won't be as full featured as you say.

Saviq avatar Feb 22 '19 08:02 Saviq

Is there any movement on this? This would be a great feature to add. I would like to be able to cache an image without create an instance.

jhcook avatar Mar 10 '22 13:03 jhcook

@jhcook not on an immediate roadmap, would you be able and willing to help out?

Saviq avatar Mar 10 '22 13:03 Saviq