[Feature Request]: Support for docker proxy #2041
Replies: 6 comments
|
Hey! Thanks for reporting this and for the details. Just to make sure I understand correctly: with v0.9.0+ running in Docker on a host that requires an HTTP/HTTPS proxy for outbound access, it doesn’t work, while v0.8.x works fine. Is that right? If so, could you share a bit more about what exactly fails in v0.9.0+ (for example, any error messages or logs) and how the proxy is configured? That’ll help us understand it better and add a fix |
|
Yes it is exactly that ! here is the logs and dockers var : Startup LOG: 2026-08-13T16:38:21.070684836Z [crawl4ai] entrypoint: no REDIS_PASSWORD provided; generated an ephemeral one. ERROR LOG: 2026-08-13T16:39:05.438196055Z [crawl4ai] 2026-08-13 16:39:05,437 - crawler_pool - INFO - 📊 Pool: hot=0, cold=0, mem=66.4% ENV VAR DOCKER: C4AI_VERSION = 0.9.2 and docker config : { |
|
Hey @maxinfo337, I've opened a PR that adds corporate proxy support to the hardened Docker server. What was happening: since 0.9.0 the server routes all browser traffic through an internal security proxy (the To make this change work no configuration changes are needed. Your existing env vars (injected by your To try it out, build the image from the PR branch: then run it exactly as you do today. On startup you should see a new log line confirming the proxy was detected: Could you give it a spin in your environment and let me know if crawls work as expected? If anything still fails, the container logs (especially any |
|
Yes it's working with this image ;) i will use it for now. here is the full log : 2026-08-15T21:01:38.231913552Z [crawl4ai] entrypoint: no REDIS_PASSWORD provided; generated an ephemeral one. TEST: 2026-08-15T21:01:38.231913552Z [crawl4ai] entrypoint: no REDIS_PASSWORD provided; generated an ephemeral one. |
|
but i had problem to connect the mcp ! it send 127.0.0.1 to the proxy ! so it don"t work ... even if i had in "noproxy" variable 127.0.0.0/8, i had to add 127.0.0.1 ... it's seem don't understand mask ! , after this change the mcp works correctly ;) |
|
Awesome, thanks for testing it so quickly! 🎉 |
Uh oh!
There was an error while loading. Please reload this page.
What needs to be done?
Hi ! when i use your last 9.0 in a docker on a host who have docker proxy variable (host can go out only with proxy) , it doesn't work ... but it works with the version 8.x , please add proxy use to your last version. i use crawl4ai with hermes-agent with a skill.
What problem does this solve?
v9 can bu used in restricted environment.
Target users/beneficiaries
No response
Current alternatives/workarounds
No response
Proposed approach
No response
All reactions