Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switch Vagrant to use Parallels instead of VirtualBox

Is it possible to use Parallels instead of (insane slow) VirtualBox in Vagrant?

like image 837
Wojciech Bednarski Avatar asked Dec 30 '12 03:12

Wojciech Bednarski


People also ask

How to set provider for Vagrant?

In fact, this is quite common. To make this experience better, Vagrant allows specifying the default provider to use by setting the VAGRANT_DEFAULT_PROVIDER environmental variable. Just set VAGRANT_DEFAULT_PROVIDER to the provider you wish to be the default.

What is a Vagrant provider?

Providers are the services that Vagrant uses to set up and create virtual environments. Support for VirtualBox, Hyper-V, and Docker virtualization ships with Vagrant, while VMware and AWS are supported via plugins.


2 Answers

While it's not Parallels (which you may have already paid for), there is a plugin for using VMWare Fusion:

http://www.vagrantup.com/vmware

The plugin is not free, so you'll need to buy licenses for both the plugin and Fusion.

I get a kernel panic in my VM a few times a week. According to Mitchell, VirtualBox has had kernel panic issues on Macs for years that have never been well resolved, and swapping to Fusion is the best alternative.

like image 88
Gabe Martin-Dempesy Avatar answered Sep 21 '22 15:09

Gabe Martin-Dempesy


Finally there is an official Vagrant Provider from and for Parallels! Unfortunately it's not mentioned on www.vagrantup.com.

See Paralles' Vagrant Documentation and the Parallels GitHub page of the Vagrant provider project. For further questions about the provider there is a dedicated official forum.

As of now there is just one limitation: "The Parallels provider supports all basic Vagrant features, except the next: "Forwarded ports" configuration is not available yet." (taken from the readme on GitHub)

Thank you, AgentK, for pointing out that that "Forwarded ports" are available as of Parallels 10 for Mac.

like image 30
wedi Avatar answered Sep 22 '22 15:09

wedi