You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be not possible to use the curl examples in the README.md with podman-desktop 1.8.0
First I searched for the path of the unix socket of gvproxy
$ ps x | grep gvproxy
62934 ?? S 4:28.04 /opt/homebrew/Cellar/podman/5.0.1/libexec/podman/gvproxy -mtu 1500 -ssh-port 50078 -listen-vfkit unixgram:///var/folders/q9/fdrhq7r90310knpl_04bc30c0000gn/T/podman/podman-machine-default-gvproxy.sock ...............
My path is /var/folders/q9/fdrhq7r90310knpl_04bc30c0000gn/T/podman/podman-machine-default-gvproxy.sock
Access to the API is not working:
curl -v --unix-socket /var/folders/q9/fdrhq7r90310knpl_04bc30c0000gn/T/podman/podman-machine-default-gvproxy.sock http:/unix/services/forwarder/expose http:/unix/stats
* Trying /var/folders/q9/fdrhq7r90310knpl_04bc30c0000g:0...
* Immediate connect fail for /var/folders/q9/fdrhq7r90310knpl_04bc30c0000g: Protocol wrong type for socket
* Failed to connect to unix port 80 after 0 ms: Couldn't connect to server
* Closing connection
curl: (7) Failed to connect to unix port 80 after 0 ms: Couldn't connect to server
* Trying /var/folders/q9/fdrhq7r90310knpl_04bc30c0000g:0...
* Immediate connect fail for /var/folders/q9/fdrhq7r90310knpl_04bc30c0000g: Protocol wrong type for socket
* Failed to connect to unix port 80 after 0 ms: Couldn't connect to server
* Closing connection
curl: (7) Failed to connect to unix port 80 after 0 ms: Couldn't connect to server
The text was updated successfully, but these errors were encountered:
The doc is misleading, the host-side API is only available when gvproxy was started with --listen, which is not the case when podman starts gvproxy. This means the behaviour you are seeing is correct.
This forwarder API is also accessible inside the guest over http://192.168.127.1:80, maybe you can use this instead?
It seems to be not possible to use the curl examples in the README.md with podman-desktop 1.8.0
First I searched for the path of the unix socket of gvproxy
My path is
/var/folders/q9/fdrhq7r90310knpl_04bc30c0000gn/T/podman/podman-machine-default-gvproxy.sock
Access to the API is not working:
The text was updated successfully, but these errors were encountered: