Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create container in a proxy based environment #521

Open
manusoftar opened this issue Jan 12, 2024 · 1 comment
Open

Create container in a proxy based environment #521

manusoftar opened this issue Jan 12, 2024 · 1 comment

Comments

@manusoftar
Copy link

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.

@leonardehrenfried
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants