Hacker News new | ask | show | jobs
by raesene9 1757 days ago
You can connect to a remote Docker engine instance over SSH, which is easier to setup than exposing the Docker socket over a TCP port.

So install the client inside WSL and the engine on a Linux VM.

EDIT: https://raesene.github.io/blog/2018/11/11/Docker-18-09-SSH/ was a blog I wrote when that feature landed, AFAIK it works the same way now :)

1 comments

Or just use it inside WSL2, which already is a Linux VM?
I've never actually tried installing Docker engine in WSL2... might work I guess :)