This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 2454b94784 [fix] fix README.md quickstart(docker) (#6026)
2454b94784 is described below
commit 2454b94784207fd4db91ed77e59b392e4f7fa4b9
Author: LingXiao Qi <[email protected]>
AuthorDate: Sun May 18 17:00:42 2025 +0800
[fix] fix README.md quickstart(docker) (#6026)
Co-authored-by: aias00 <[email protected]>
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 565b12162d..8cdbd00e80 100644
--- a/README.md
+++ b/README.md
@@ -148,7 +148,9 @@ curl --location --request POST
'http://localhost:9195/shenyu/plugin/selectorAndR
}]
}'
```
-
+> If the backend service handling the request is running on your host machine,
please set `upstreamUrl` to `host.docker.internal:8080` or specify IP address
if reachable from the container in the above command.
+>
+> Add `--network host` to docker run command instead of `--net shenyu` also
works correctly.
* Proxy request :http://localhost:9195/helloworld
```json