6

I'd like to share a VirtualBox image with other developers, similar to this question: How to share a VirtualBox image?

There seem to be three basic answers to that question:

  1. Copy the entire VM folder, and share the copy
  2. Clone the VM, and share the clone
  3. Export the VM, and share the exported files

Unfortunately, I'm a little unclear on the differences between these methods. What are their pros/cons? Do they all accomplish exactly the same task, or are there differences in the "copies" that you get in each case?

1 Answer 1

8

I would recommend Exporting an Appliance. This will package everything you need up into a single file you can distribute. Copying the files manually can be done, but you would have to manage several files and you may also have to edit some of them after the fact since they contain absolute paths to some files on your hard drive.

2
  • Will Exporting an Appliance also copy all the snapshots? from what I understand that is something, exporting an appliance doesnt do. Is that correct?
    – alpha_989
    Mar 25, 2018 at 17:41
  • 2
    @alpha_989 See the note at the end of the docs in section 1.14. Importing and exporting virtual machines. Specifically: OVF cannot describe snapshots that were taken for a virtual machine. As a result, when you export a virtual machine that has snapshots, only the current state of the machine will be exported, and the disk images in the export will have a "flattened" state identical to the current state of the virtual machine.
    – heavyd
    Mar 25, 2018 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .