Docker service does not start on Windows Server (#4397)

This commit is contained in:
Aleksandr Chebotov
2021-11-02 01:25:25 +03:00
committed by GitHub
parent 706a7ae6d3
commit 3a5b9591bc

View File

@@ -23,4 +23,10 @@ foreach ($dockerImage in $dockerImages) {
}
}
# fatal: open C:\ProgramData\docker\panic.log: Access is denied.
$panicLog = "C:\ProgramData\docker\panic.log"
if (Test-Path -Path $panicLog) {
Set-ItemProperty -Path "C:\ProgramData\docker\panic.log" -Name IsReadOnly -Value $false
}
Invoke-PesterTests -TestFile "Docker"