Create container in a proxy based environment
manusoftar opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
My docker server needs to use a proxy to be able to communicate with internet (in this case to download the pbf files)
Describe the solution you'd like
Some way to tell the container to use my squid proxy to be able to connect to geofabrik servers
What I usually do and didn't work in this case
I add these two environment variables on my docker-compose file
HTTP_PROXY and HTTPS_PROXY
even though I added those variables, whenever I try to construct and run the container it get's stuck at downloading the pbf file, clearly because it can't reach the server.
No idea how to do this, but if you want to send a PR which teaches Linux or curl how to use a proxy, we would probably merge it in.