aloof-manchester-27856
02/17/2026, 6:16 PMaloof-manchester-27856
02/17/2026, 6:17 PMdocker run -it --rm --pull=always \
-e SANDBOX_CONTAINER_URL_PATTERN="<http://10.100.3.70>:{port}" \
-e OH_WEB_URL="<http://10.100.3.70:3000>" \
-e AGENT_SERVER_IMAGE_REPOSITORY=<http://ghcr.io/openhands/agent-server|ghcr.io/openhands/agent-server> \
-e AGENT_SERVER_IMAGE_TAG=1.10.0-python \
-e LOG_ALL_EVENTS=true \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openhands:/.openhands \
-p 3000:3000 \
--network host \
--add-host host.docker.internal:host-gateway \
--name openhands-app \
docker.openhands.dev/openhands/openhands:mainaloof-manchester-27856
02/17/2026, 6:17 PMaloof-manchester-27856
02/17/2026, 6:18 PMpython3 -m http.server 8080 --bind 0.0.0.0salmon-lock-64866
02/17/2026, 6:56 PMsalmon-lock-64866
02/17/2026, 7:02 PM--network host option, it will no longer by hard code externally to fixed ports 8011 and 8012. Instead it picks dynamic port # per conversation (so you are then allowed to have multiple conversations at once) although your app must still pick either 8011 or 8012 inside container. To find what the dynamic ports make the app visible, in the conversation go to Tools then View Available Skills and then "work_host" skill. It will tell you what URL to connect to.
If you want to view your app in the App tab within OH conversation, the app must enable CORS support as well as pick port 8011.aloof-manchester-27856
02/17/2026, 7:18 PM