Closed achim-t closed 2 years ago
This is likely the problems we have with Windows 10 - there are several of these. You can try with hyperv isolation and see if that solves the issue.
Since RunAlPipeline doesn't have a parameter for isolation, I would have to override the NewBcContainer scriptblock, right?
I created a scriptblock:
$NewBcContainer = {
Param([Hashtable]$parameters)
$parameters.isolation = "hyperv"
New-BcContainer @parameters
Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' }
}
And added another parameter to the Run-AlPipeline
call:
-NewBcContainer $NewBcContainer `
With hyperv isolation it did indeed work.
Describe the issue Following along with the CICD Workshop for HelloWorld.AppSource there is an error in the creation of the docker image when setting up the local development environment.
The only setting I changed is "vaultNameForLocal".
Scripts used to create container and cause the issue
Full output of scripts
Docker Desktop 4.2.0 (70708)