Tool for exposing unix sockets inside of WSL to Windows applications running on Windows.
451
Tool for exposing unix sockets inside of WSL to Windows applications. One popular use case is exposing docker.sock from WSL to docker cli running on Windows.
Container can only run inside of WSL instance (doesn't make sense anywhere else), and has to have priviledged and pid=host set, so that it can install and control Windows process required for host<>host communication.
More information on Blog and Github.
sudo groupadd docker
sudo gpasswd -a $USER docker
sudo snap install docker
sudo apt install socat
docker run --name wslpipeproxy --privileged --pid=host -d --restart=always -v /mnt/c/:/app devopsifyme/wslpipeproxy
docker context create docker-on-ubuntu2204 --docker host=npipe:////./pipe/dockerOnUbuntu2204
docker context use docker-on-ubuntu2204
wsl --listContent type
Image
Digest
sha256:bb2aa3288…
Size
92.7 MB
Last updated
almost 4 years ago
docker pull devopsifyme/wslpipeproxy