Skip to content

Instantly share code, notes, and snippets.

@InsulaVentus
Created July 4, 2018 06:25
Show Gist options
  • Save InsulaVentus/1cbca74c8ee06ca16c1155ed4ebc5e2c to your computer and use it in GitHub Desktop.
Save InsulaVentus/1cbca74c8ee06ca16c1155ed4ebc5e2c to your computer and use it in GitHub Desktop.
Write-Output "Waiting for docker daemon (com.docker.proxy) to start"
Do
{
$docker = Get-Process "com.docker.proxy" -ErrorAction SilentlyContinue
Write-Output "Waiting..."
Start-Sleep 3
} While (!$docker)
Write-Output "Docker has started"
Write-Output "Launching open-wsl"
Start-process open-wsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment