-
Is it possible to access the podman socket from another WSL distribution?
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 8 replies
-
Hello @derkoe Could you explain it more ? |
Beta Was this translation helpful? Give feedback.
-
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 ? |
Beta Was this translation helpful? Give feedback.
-
FYI I moved the question from Podman Desktop to Podman as shared socket should be handled by Podman |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
Convert to a feature request: #16660 |
Beta Was this translation helpful? Give feedback.
Convert to a feature request: #16660