Reputation: 6373
Is it possible to use Parallels instead of (insane slow) VirtualBox in Vagrant?
Upvotes: 9
Views: 11205
Reputation:
You can use Parallels with Vagrant. Here's a line by line set of instructions to do so (assumes you have Parallels and Vagrant installed).
$ vagrant plugin install vagrant-parallels
$ mkdir some-project/ && cd some-project
$ vagrant init parallels/ubuntu-14.04
$ vagrant up --provider parallels
Note, you only have to install vagrant-parallels
once. Also note, you only have to pass in --provider parallels
the first time you up
, after that it will automatically use the parallels provider.
Upvotes: 1
Reputation: 1422
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.
Upvotes: 4
Reputation: 311
found this thread in google along with official Parallels-Vagrant integration: https://github.com/Parallels/vagrant-parallels
Upvotes: 0
Reputation: 1996
Maybe this will help you (fresh and new)
https://github.com/yshahin/vagrant-parallels
Upvotes: 15
Reputation: 7975
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.
Upvotes: 9
Reputation: 188164
There was a large commit a few month ago, that merged the machine-abstraction branch:
which was even discussed a bit on Hacker News.
This branch brings in the "machine abstraction" code. This is a major milestone in the development of Vagrant as it abstracts all of the VirtualBox-specific code out into a plugin.
The gotcha:
White it is technically possible now to write plugins for other providers, there is still major work to be done to make this feasible.
And as of now, the only provider in master is virtualbox:
Upvotes: 3