Hello! Wanted to check if anyone has had success r...
# questions
a
Hello! Wanted to check if anyone has had success running OpenHands V1 conversations through Docker, and using Docker sandbox configuration in host network mode. If yes, I have two questions - 1. Running in host mode causes the agent-server to not be able to reach the parent container when posting webhook events, causing the error
Webhook post attempt 1 failed: [Errno -2] Name or service not known
, and subsequently
Failed to post events to webhook <http://host.docker.internal:3000/api/v1/webhooks/events/><conversation_id> after 4 attempts
- it seems like there is no handling to differentiate between host and bridge network mode for the agent-server. 2. (less important) Running in host mode offers the following warning in the app container but no way to configure it through Docker env vars -
Host network mode is enabled with max_num_sandboxes > 1. Multiple sandboxes will attempt to bind to the same ports, which may cause port collision errors. Consider setting max_num_sandboxes=1 when using host network mode.
Would it make sense to offer this as an env var that can be set by users? Thanks in advance!