Files
qt5/coin/provisioning/qtci-windows-10-x86_64/95-docker.ps1
Ryan Chu 177df80f09 Docker Provisioning: Install docker test servers on Windows 10 (x86_64)
Build and cache docker images to VirtualBox virtual machine.
1. Download and install the docker tool kits and Apple Bonjour
2. Deploy boot2docker image into VirtualBox via docker-machine commands
3. Use Git Bash to run the shared provisioning scripts
4. Print CPU features to verify that CI has enabled VT-X/AMD-v support
5. Disable Hyper-V from Windows 10 Pro/Enterprise editions

Change-Id: I5520e4a28376aba14f880c077bd7b083be971f0a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-02-02 12:23:15 +00:00

7 lines
371 B
PowerShell

# Disable Hyper-V from Windows 10 Pro/Enterprise
# Because VirtualBox is a type 2 hypervisor, it can't run if Hyper-V virtual machines are in use.
# Otherwise, docker-machine will complain about "VT-x is not available (VERR_VMX_NO_VMX)".
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart
. "$PSScriptRoot\..\common\windows\docker.ps1"