Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Reject VirtualBox version<=3 #2359

Merged
merged 1 commit into from
Nov 20, 2015
Merged

Conversation

dgageot
Copy link
Member

@dgageot dgageot commented Nov 19, 2015

Should we test the version of virtualbox and refuse to work with something different from 5.X?

Signed-off-by: David Gageot david@gageot.net

@dgageot
Copy link
Member Author

dgageot commented Nov 19, 2015

ping @docker/machine-maintainers

@nathanleclaire
Copy link
Contributor

I'm in favor of supporting only >5

We should make sure to include a note about it in the documentation somewhere.

@dgageot
Copy link
Member Author

dgageot commented Nov 20, 2015

Thanks @nathanleclaire and @jeanlaurent, I have updated the documentation and improved the error message

@jeanlaurent
Copy link
Member

Are you sure aa5dc59 & especially 6468cb5 belongs to this PR ?

@dgageot
Copy link
Member Author

dgageot commented Nov 20, 2015

@jeanlaurent Sorry, push error

@dgageot
Copy link
Member Author

dgageot commented Nov 20, 2015

@docker/machine-maintainers As pointed out by @jeanlaurent, virtualbox 5.0 was released in july 2015. Do we want to force every user with a 4.3 to upgrade. This might be difficult for some corporate users.

@jeanlaurent said we could reject <4.3 and warn is <5. Something like:

############################
YOUR VITUALBOX IS OUTDATED PLEASE UPGRADE
#############################

@jeanlaurent
Copy link
Member

There is two options:

  1. is what @dgageot propose: reject <4.3 and warn <5
  2. is to reject <5 and allow to bypass it, if at the own risk of the user with some sort of dissuasive flag like --BYPASS_OUTDATED_VBOX_VERSION_AT_MY_OWN_RISK=1 or something alike.

We need not to frustrate user who will not be in a position of upgrading properly their virtualbox version at the same time we should'nt invest too much time on legacy vbox version and better spent it on making it work flawlessly on the latest, but we must ensure that they use the latest one for the best usage of docker-machine

I'm in favor or 1.

cc @docker/machine-maintainers -> your invited to vote 😄

@dgageot
Copy link
Member Author

dgageot commented Nov 20, 2015

This issue #2371 shows that VB5.0 can be more buggy than VB4.3...

@dgageot dgageot added this to the 0.6.0 milestone Nov 20, 2015
Signed-off-by: David Gageot <david@gageot.net>
@dgageot
Copy link
Member Author

dgageot commented Nov 20, 2015

ping @docker/machine-maintainers
Updated the PR to accept only VirtualBox 4+

@dgageot dgageot changed the title Test VirtualBox version Reject VirtualBox version<=3 Nov 20, 2015
@nathanleclaire
Copy link
Contributor

LGTM

Maybe we can talk about ending support for older versions as 5 grows more mature. But, I think it is still in the wild quite heavily, and we should hold off until we have more info.

nathanleclaire added a commit that referenced this pull request Nov 20, 2015
@nathanleclaire nathanleclaire merged commit c249659 into docker:master Nov 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants