Passing Host proxy settings to container

42 views
Skip to first unread message

Marc Hoeppner

unread,
Apr 24, 2024, 4:43:11 AM4/24/24
to Singularity Community Edition
Hi,

I am a little stuck regarding proxy settings inside a pre-built container (Biocontainer, so not built by me).

I have two systems that I develop on:

1) Personal PC at home, Alma Linux 9.2, Singularity 4.1.2
2) Work PC behind a company proxy, Alma Linux 9.2, Singularity 4.1.2

I use pre-built containers, one of which includes a software that needs to talk to a remote server. This works fine on my home system, and does not work on my work pc behind the proxy (cannot reach remote host). 

The work PC has both HTTP_PROXY and HTTPS_PROXY set and I am generally able to reach remote systems no problem. The only thing that reliably fails is said container. I even tried passing HTTP_PROXY to the container using the `--env HTTP_PROXY=xxx` option, no success.

Is there any more information available on how to deal with such a situation? 

Cheers
Marc

Marc Hoeppner

unread,
Apr 24, 2024, 4:54:10 AM4/24/24
to Singularity Community Edition
Nevermind... the tool *inside* the container uses a Java library that ignores Proxy settings (had to install manually to verify...). So not a singularity issue after all. 
Reply all
Reply to author
Forward
0 new messages