mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix: Correct --add-host Flag Format in README (#1767)
This PR updates the README to correct the format of the --add-host flag used in the Docker run command. The previous format, host.docker.internal=host-gateway, was incorrect and resulted in the following error: invalid argument "host.docker.internal=host-gateway" for "--add-host" flag: bad format for add-host: "host.docker.internal=host-gateway" Use code with caution. This PR fixes the issue by updating the flag to the correct format: --add-host host-gateway:host.docker.internal Use code with caution. This ensures that the Docker container can correctly resolve the host.docker.internal hostname to the host machine's gateway IP address.
This commit is contained in:
parent
b13d4647ab
commit
ee66a1d5d1
Loading…
x
Reference in New Issue
Block a user