lmakarov / dde

[DEPRECATED] Docker and Docker Compose based environment for Drupal
MIT License
128 stars 37 forks source link

Vagrant and VirtualBox version incompatibility problems #155

Closed travismagic closed 8 years ago

travismagic commented 8 years ago

Hello!

I just tried running dsh install prerequisites and dsh install boot2docker. Vagrant fails on boot2docker.

It appears VirtualBox had a v5.1 release on 7/12. Latest Vagrant (v1.8.4) says it is only compatible with VirtualBox v5.0, so I had to manually downgrade my VirtualBox version.

I know this is an upstream problem, but should we update the install scripts to pull those specific versions?

lmakarov commented 8 years ago

Hi @travismagic, are you on Mac or Windows?

Brew on Mac did not use to support the ability to point explicitly the current number. In other words, we would have to stick to the previous available version all the time. I believe Choco on Windows does support this though. So there is an opportunity to improve.

travismagic commented 8 years ago

Hi @lmakarov, yes I'm on a Mac.

kyleskrinak commented 8 years ago

FYI: note you should downgrade both VB to 5.0.20 AND Vagrant to 1.7.4

lmakarov commented 8 years ago

Vagrant 1.8.5 should be compatible with the latest VirtualBox 5.1.2 release, however VirtualBox Guest Additions version we currently have is 5.0.20 and the latest boot2docker release is at 5.0.24. Both will most likely have issues with VirtualBox 5.1.2.

So for now avoid VirtualBox 5.1.2 and stick with:

We can get versions locked for Windows users in dsh install prerequisites, however not for Mac users, as cask does not (and looks like won't) support this...

GGolovenko commented 8 years ago

Confirmed on mac: downgraded from latest versions to VirtualBox - 5.0.26 and Vagrant 1.8.4 after that it works.

lmakarov commented 8 years ago

Going to close this in favor of the issue in the upstream project: https://github.com/blinkreaction/boot2docker-vagrant/issues/83

Let's move further discussions there.