mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-09 20:47:49 +08:00
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>
This commit is contained in:
6
coin/provisioning/qtci-windows-10-x86_64/95-docker.ps1
Normal file
6
coin/provisioning/qtci-windows-10-x86_64/95-docker.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user