Stop-DockerForIntegrationTests.ps1 328 B

123456789101112
  1. $ErrorActionPreference = "Stop"
  2. if ((Get-Command "docker-compose.exe" -ErrorAction SilentlyContinue) -eq $null) {
  3. Write-Host -Object "Docker is not installed. Please install docker before running again" -ForegroundColor "Red"
  4. exit 1
  5. }
  6. $cmdPath = "docker-compose.exe"
  7. $cmdArgList = @(
  8. "down"
  9. )
  10. & $cmdPath $cmdArgList