How to share a VirtualBox image?

Juding from your comment above, as of VirtualBox 4.0 you can copy the entire machine folder, settings, virtual hard disk and all to another physical machine (such as your co-workers), import the VM (or double click on the .vbox file) and you'll probably be ready to roll. You might have to change the network addaptor and RAM if you have different setups.

If you have a pre-4.0 release then it's simple enough to copy the .vdi virtual disk to a co-workers machine, and set up a new VM with the copied hard disk as it's primary.

The longest bit is the copying, be it to USB then to computer, or over the network, but, yes, it's fully possible.


You could use the GUI File->Export Appliance function to create an appliance and then pass the resultant .ovf and .vmdk files to your colleagues who can use the File->Import Appliance to import it.


Tombull89 and SabreWolfy, if there is ever a chance one of those images will get copied back to the source machine, the simple copy will NOT work. You will want to clone or export. VirtualBox places UUIDs into the .VDI or .VHD and will complain loudly when it finds another file with the same UUID, so loudly in fact that the guest may no longer boot. Snapshots are differences from the previous snapshot and also have UUIDs. Would not recommend VBox snapshots until you have a great deal of experience with them.


This question is 3 years old, but anyway, I think Vagrant is what you need:

Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team.

To achieve its magic, Vagrant stands on the shoulders of giants. Machines are provisioned on top of VirtualBox, VMware, AWS, or any other provider. Then, industry-standard provisioning tools such as shell scripts, Chef, or Puppet, can be used to automatically install and configure software on the machine.

You can easily share VirtualBox machines with your team.