Download the last release of git for windows and install it
AutomatedLab
For building and running the lab we are going to use AutomatedLab
AutomatedLab (AL) enables you to setup test and lab environments on Hyper-v or Azure with multiple products or just a single VM in a very short time. There are only two requirements you need to make sure: You need the DVD ISO images and a Hyper-V host or an Azure subscription.
1 Download and install the last release
We download AutomatedLab.msi from the last release on Github:
powershell -ep bypass$trigger =New-ScheduledTaskTrigger-AtStartup$action = New-ScheduledTaskAction -Execute "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Argument "-ep bypass -File C:\startDocker.ps1"
$settings =New-ScheduledTaskSettingsSet-Compatibility Win8 -AllowStartIfOnBatteriesRegister-ScheduledTask -Action $action -Trigger $trigger -TaskName "Start Docker on Start up" -Settings $settings -User $env:UserName -RunLevel Highest
# Add the user to the docker-users user-group# This is needed so that this user has access to docker servicestry {Add-LocalGroupMember-Group docker-users -Member $env:UserName -ErrorAction Stop} catch [Microsoft.PowerShell.Commands.MemberExistsException] {}# Run Docker right nowC:\startDocker.ps1
powershell -ep bypass$trigger =New-ScheduledTaskTrigger-AtStartup$action = New-ScheduledTaskAction -Execute "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Argument "-ep bypass -File C:\startDocker.ps1"
$settings =New-ScheduledTaskSettingsSet-Compatibility Win8 -AllowStartIfOnBatteriesRegister-ScheduledTask -Action $action -Trigger $trigger -TaskName "Start Docker on Start up" -Settings $settings -User $env:UserName -RunLevel Highest
# Add the user to the docker-users user-group# This is needed so that this user has access to docker servicestry {Add-LocalGroupMember-Group docker-users -Member $env:UserName -ErrorAction Stop} catch [Microsoft.PowerShell.Commands.MemberExistsException] {}# Run Docker right nowC:\startDocker.ps1