I want to use Eclipse with Podman backend on
Windows. I have Podman Desktop installed and the
podman context is:
Name
URI
Identity Default
podman-machine-default
ssh://user@localhost:64926/run/user/1000/podman/podman.sock
C:\Users\me\.ssh\podman-machine-default true
Eclipse's Docker tooling has a
setting for Container engine like the following:
Is there a workaround I can
connect Eclipse to Podman engine on Windows?
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io
Jason any ideas?
Most API clients on Windows use
Named Pipes, since that is the default DOCKER_HOST value on
Windows with Docker. Unfortunately it looks like the Docker
Tools plugin for Eclipse does not expose this capabilty, even
though the underlying client library its using appears to
support it. Further, their support for Unix sockets appears
broken. While the best solution is a fix to the Eclipse plugin,
you can work around this by running the following after starting
podman machine (change the port to whatever value you want):
podman machine ssh --
"-L5555:/run/user/1000/podman/podman.sock" -N
(this will run until aborted)
You then can specify
tcp://localhost:5555 (replace
port to whatever you specified on the ssh comment)
Hope this helps!
-Jason