On 2/4/23 14:53, Mehdi Haghgoo wrote:
Daniel I looked up some SOCKS protocol information(https://www.rfc-editor.org/rfc/rfc1928) and there is no explicit mention of using a socket file to make the connection. I have no idea how it would be possible to use SOCKS with Podman.
It does not look like Podman would directly support SOCKS.
By the way, does Podman or Podman Desktop support using a HTTP proxy like Minikube does?

Yes you can set the HTTP Proxy environment files and podman will use them.

On Saturday, February 4, 2023 at 02:42:45 AM GMT+3:30, Daniel Walsh <dwalsh@redhat.com> wrote:


On 2/3/23 16:33, Mehdi Haghgoo via Podman wrote:
Hello,

I need to use a network proxy running with socks as socks5://127.0.0.1:1090 on my host system, inside the container running with podman.

How can I tell Podman to use that proxy inside the container as well?
Does Podman support this?



_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io

I am not that familiar with socks, does it create a socket file to communicate with?  If so then this socket can be volume mounted into the container and be used, although you will probaly need to disable SELinux separation.

_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io