Forum Discussion

ooker's avatar
ooker
Copper Contributor
Sep 03, 2023

How to write a script to start a Docker container and stop WSL safely when the container stops?

I’m writing a PowerShell script to start a container and stop WSL safely when the container stops. Here is my attempt: $ContainerName = 'tranky' $DockerDesktopPath = "C:\Program Files\Docker\Docker\...

Resources