Uploaded image for project: 'Red Hat Container Development Kit'
  1. Red Hat Container Development Kit
  2. CDK-25

On Windows, if Hyper-V is activated, the CDK is not working

    Details

    • Steps to Reproduce:
      • install docker for windows
      • launch vagrant up on the CDK

      Description

      On windows, the latest version of Docker is using Hyper-V and no more VirtualBox. The CDK is expecting Docker in a Virtualbox. CDK should handle the latest case (and even better, both of them)

      here is the error:

      Bringing machine 'default' up with 'virtualbox' provider...
      ==> default: Importing base box 'cdkv2'...
      ==> default: Matching MAC address for NAT networking...
      ==> default: Setting the name of the VM: rhel-ose_default_1478167717348_52569
      ==> default: Clearing any previously set network interfaces...
      ==> default: Preparing network interfaces based on configuration...
          default: Adapter 1: nat
          default: Adapter 2: hostonly
      ==> default: Forwarding ports...
          default: 22 (guest) => 2222 (host) (adapter 1)
      ==> default: Running 'pre-boot' VM customizations...
      ==> default: Booting VM...
      There was an error while executing `VBoxManage`, a CLI used by Vagrant
      for controlling VirtualBox. The command and stderr is shown below.
      
      Command: ["startvm", "27ab7252-7971-4276-abec-1aba54965c62", "--type", "headless"]
      
      Stderr: VBoxManage.exe: error: VT-x is not available (VERR_VMX_NO_VMX)
      VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  aurelien.pupier Aurélien Pupier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: