Stop if docker is not installed

parent b15690e3
...@@ -31,5 +31,6 @@ if ($docker_provider -eq "ce") { ...@@ -31,5 +31,6 @@ if ($docker_provider -eq "ce") {
Set-PSRepository -InstallationPolicy Untrusted -Name PSGallery Set-PSRepository -InstallationPolicy Untrusted -Name PSGallery
} }
$ErrorActionPreference = 'Stop'
Write-Host "Starting docker ..." Write-Host "Starting docker ..."
Start-Service docker Start-Service docker
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment