path: root/coin/provisioning/qtci-windows-10-x86_64
diff options
authorRyan Chu <>2019-01-15 14:52:44 +0100
committerLiang Qi <>2019-02-02 12:23:15 +0000
commit177df80f09f3a84af7d86390ae7160a64fad8b4c (patch)
treeb8b895ce254611a926d5e9dd70392e9ccbc2e369 /coin/provisioning/qtci-windows-10-x86_64
parentab3e34827a69d936aa02757033b6a00be5003493 (diff)
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 <>
Diffstat (limited to 'coin/provisioning/qtci-windows-10-x86_64')
1 files changed, 6 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-windows-10-x86_64/95-docker.ps1 b/coin/provisioning/qtci-windows-10-x86_64/95-docker.ps1
new file mode 100644
index 00000000..df735855
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86_64/95-docker.ps1
@@ -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"