Deploying Portainer on Docker Edge (Windows) using WSL 2 engine

For anyone trying to run Portainer on the new WSL 2 engine in the Windows 10 2004 release preview, the Windows command listed on the Portainer installation page apparently doesn’t work from PowerShell (at least it kept giving me path errors for the pipe mount.) But, since the Linux and Windows side share the same Docker instance, I was able to run the Linux install command from inside my Ubuntu instance, and it’s working as expected.

Figured I’d drop a note just in case anyone else ran into this issue. :slight_smile:

After using it for a couple weeks now, I’ve noticed Portainer can’t reach the local docker instance after a reboot. This can be worked around by restarting the container on the WSL2 side:

wsl docker container restart portainer