|
Is it possible to access the podman socket from another WSL distribution? |
Replies: 6 comments 8 replies
|
Hello @derkoe Could you explain it more ? |
|
It's the "podman machine" code that sets-up the redirect from a local socket to the podman-remote socket running inside WSL If you need to do that 'by hand' you need to check first, that inside your Fedora WSL, the socket for podman is exposed. and then, you would need to do a ssh forward from a local file to the ssh connection within your WSL fedora. And then you could do Another option would be do run the podman machine init command with another image (provided by --image-path) Also I'm not sure why you want to use another WSL distribution here ? |
|
FYI I moved the question from Podman Desktop to Podman as shared socket should be handled by Podman |
|
I got it working with the following "trick" (that also Docker Desktop uses): Go into the podman WSL distro ( This creates a mount point to the Podman socket in the shared WSL2 file system. After that you can use this from any distribution with: Would be great if the mount could be setup by the Podman machine automatically. |
|
Do I need to do something similar to enable Podman Desktop to see my Docker daemon running in Ubuntu so I can use the UI to manage Docker? |
Convert to a feature request: #16660