Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Virtualbox 5.0 Compatibility - [Final version released] #979

Closed
boot2docker/boot2docker-cli
#375

Description

@jamespacileo

Virtualbox 5 has been finally released
https://blogs.oracle.com/virtualization/entry/oracle_vm_virtualbox_5_07

New stable Vagrant release using Virtualbox 5 is likely coming out tomorrow
https://twitter.com/mitchellh/status/619163221992189952

Current release of boot2docker is not compatible with Virtualbox 5.

Activity

  1. nathanleclaire commented on Jul 9, 2015

    @nathanleclaire
    Contributor

    docker-archive-public/docker.machine#1496 makes it work with docker-machine, perhaps a similar change would be all that is needed for boot2docker-cli.

  2. tianon commented on Jul 9, 2015

    @tianon
    Contributor
  3. rodlogic commented on Jul 13, 2015

    @rodlogic

    Same issue here:

    VBoxManage: error: Unknown option: --synthcpu
    error in run: Failed to initialize machine "boot2docker-vm": exit status 1
    
  4. CpuID commented on Jul 13, 2015

    @CpuID
  5. maguowei commented on Jul 13, 2015

    @maguowei

    I have the same problem

  6. pengux commented on Jul 13, 2015

    @pengux

    Is there any workaround for this issue until the fix is merged?

  7. trinitronx commented on Jul 13, 2015

    @trinitronx

    @pengux: Current workaround that works for me is to not use boot2docker and instead use the latest unreleased HEAD for docker-machine via Homebrew:

    $ brew install --HEAD docker-machine
    $ docker-machine  -v
    docker-machine version 0.4.0-dev (HEAD)
    $ docker-machine create -d virtualbox boot2docker
    $ eval $( docker-machine env boot2docker )
    $ docker version
    Client version: 1.7.0
    Client API version: 1.19
    Go version (client): go1.4.2
    Git commit (client): 0baf609
    OS/Arch (client): darwin/amd64
    Server version: 1.7.0
    Server API version: 1.19
    Go version (server): go1.4.2
    Git commit (server): 0baf609
    OS/Arch (server): linux/amd64
  8. micheleorsi commented on Jul 14, 2015

    @micheleorsi

    thanks @trinitronx, this workaround works for me!

  9. jamespacileo commented on Jul 14, 2015

    @jamespacileo
    Author

    Thanks for sharing @trinitronx :)

  10. nikolay commented on Jul 14, 2015

    @nikolay

    Yeah, time to abandon ship!

  11. nikolay commented on Jul 14, 2015

    @nikolay

    @trinitronx Actually, even with --HEAD, I still get version v0.3, not v0.4. I uninstalled it and then installed on clean slate, but it still installs v0.3.

  12. antillean commented on Jul 14, 2015

    @antillean

    @trinitronx, works for me!

    @nikolay, maybe try a brew update first?

  13. nikolay commented on Jul 14, 2015

    @nikolay

    @antillean Yes, I did brew update, but I still get the old version even if it says it's HEAD.

  14. tianon commented on Jul 14, 2015

    @tianon
    Contributor

    See also boot2docker/boot2docker-cli#374 for more discussion of the issue and boot2docker/boot2docker-cli#373 for discussion of a concrete fix.

  15. tianon commented on Jul 14, 2015

    @tianon
    Contributor

    Also of note is that docker-archive-public/docker.machine#1496 already fixed this in docker-machine, and if you haven't given docker-machine a try yet, you probably want to since it'll be the de-facto way to use boot2docker in the near future.

  16. trinitronx commented on Jul 14, 2015

    @trinitronx

    @nikolay: Try brew uninstall docker-machine; brew update; brew install --HEAD docker-machine

    If that still doesn't work... brew uninstall docker-machine; rm -rf /usr/local/Cellar/docker-machine; rm /usr/local/Library/Formula/docker-machine.rb; brew update; brew install --HEAD docker-machine

  17. nikolay commented on Jul 15, 2015

    @nikolay

    @trinitronx Nothing helps! I've done brew cleanup -s before, uninstalled and deleted everything left over, it still installs v0.3, and that's it.

  18. nikolay commented on Jul 15, 2015

    @nikolay

    @trinitronx The only thing that actually helped is removing everything related to docker-machine in /Library/Caches/Homebrew!

  19. ksylvan commented on Aug 3, 2015

    @ksylvan

    What's the workaround for Windows? How do I get the head/unreleased version of docker-machine on Windows?

  20. ksylvan commented on Aug 3, 2015

    @ksylvan

    Never mind. I figured it out. Cloned the docker/machine repository on my Linux box and did:

    ./script/build -os=windows -arch=amd64
    Sending build context to Docker daemon 8.307 MB
    Sending build context to Docker daemon 
    Step 0 : FROM golang:1.4.2-cross
     ---> bbc500088baa
    [...]
    Removing intermediate container fc1cc69270bd
    Successfully built b7a90fe3c3a9
    Number of parallel builds: 4
    -->   windows/amd64: github.com/docker/machine
    

    And the new docker-machine binary worked beautifully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions