Adding setup to use docker within wsl

This commit is contained in:
Zackarias Montell
2026-05-05 08:43:53 +02:00
parent 8441afb56f
commit e850b16df6
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
$script = "C:\Users\$env:USERNAME\Update-WSLDockerProxy.ps1"
Start-Process powershell.exe -Verb RunAs `
-ArgumentList "-NonInteractive -Command `"Register-ScheduledTask -TaskName 'WSL Docker Proxy' -Action (New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-NonInteractive -WindowStyle Hidden -File \`"$script\`"') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -RunLevel Highest -Force`""