Feature Idea: Volume "Images"

It would be useful to be able to create an image for a volume similar to images for instances. Basically when you use the volume image the volume you create would be populated with the file contents in the volume image.

You should be able to achieve that through lxc storage volume copy though, right?

The main benefit of images is the available of image servers which is unlikely to apply here. If the main goal is to be able to get a volume initialized to match an existing one, copy should handle that and import/export can be used to move them around if needed.

It’s useful because we can generate a volume from a remote server. It’d also work if we could ship volumes with instance images.