You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by de...@apache.org on 2022/10/01 08:12:59 UTC

[shenyu-website] branch main updated: fix: missing `--net shenyu` in docker deployment (#774)

This is an automated email from the ASF dual-hosted git repository.

dengliming pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 7b5a2141f6 fix: missing `--net shenyu` in docker deployment (#774)
7b5a2141f6 is described below

commit 7b5a2141f61b6e220790db01f88fadce68ad4059
Author: Bird <af...@gmail.com>
AuthorDate: Sat Oct 1 16:12:53 2022 +0800

    fix: missing `--net shenyu` in docker deployment (#774)
---
 docs/deployment/deployment-docker.md                                  | 1 +
 .../current/deployment/deployment-docker.md                           | 3 +--
 .../version-2.4.2/deployment/deployment-docker.md                     | 4 ++--
 .../version-2.4.3/deployment/deployment-docker.md                     | 3 +--
 .../version-2.5.0/deployment/deployment-docker.md                     | 3 +--
 versioned_docs/version-2.4.2/deployment/deployment-docker.md          | 4 ++--
 versioned_docs/version-2.4.3/deployment/deployment-docker.md          | 3 +--
 versioned_docs/version-2.5.0/deployment/deployment-docker.md          | 3 +--
 8 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/docs/deployment/deployment-docker.md b/docs/deployment/deployment-docker.md
index c7cfcc7949..640413a8e8 100644
--- a/docs/deployment/deployment-docker.md
+++ b/docs/deployment/deployment-docker.md
@@ -71,6 +71,7 @@ In the host, the directory where the bootstrap [configuration file](https://gith
 > docker pull apache/shenyu-bootstrap:${current.version}
 > docker run -d \
   -p 9195:9195 \
+  --net shenyu \
   -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:${current.version}
 ```
diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/deployment/deployment-docker.md b/i18n/zh/docusaurus-plugin-content-docs/current/deployment/deployment-docker.md
index 58d720526f..1947e06656 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/deployment/deployment-docker.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/deployment/deployment-docker.md
@@ -70,7 +70,6 @@ docker run -v ${your_work_dir}/conf:/opt/shenyu-admin/conf -d -p 9095:9095 --net
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:${current.version}
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:${current.version}
 ```
diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/deployment/deployment-docker.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/deployment/deployment-docker.md
index 9b3d0fc4d6..f9b3ee4e31 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/deployment/deployment-docker.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/deployment/deployment-docker.md
@@ -52,8 +52,7 @@ docker run -v ${your_work_dir}/conf:/opt/shenyu-admin/conf -d -p 9095:9095 --net
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:2.4.2
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:2.4.2
 ```
 
@@ -76,6 +75,7 @@ agent相关配置文件位于 [shenyu-dist/shenyu-agent-dist/src/main/resources/
 > docker pull apache/shenyu-bootstrap:2.4.2
 > docker run -d \
   -p 9195:9195 \
+  --net shenyu \
   -v $AGENT_CONF:/opt/shenyu-bootstrap/agent/conf \
   -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:2.4.2 agent
diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/deployment/deployment-docker.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/deployment/deployment-docker.md
index 1cd1f08c84..9be4ab20a9 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/deployment/deployment-docker.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/deployment/deployment-docker.md
@@ -66,7 +66,6 @@ docker run -v ${your_work_dir}/conf:/opt/shenyu-admin/conf -d -p 9095:9095 --net
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:${current.version}
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:${current.version}
 ```
diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/deployment/deployment-docker.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/deployment/deployment-docker.md
index 056828cbad..df72ad1b0a 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/deployment/deployment-docker.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/deployment/deployment-docker.md
@@ -66,7 +66,6 @@ docker run -v ${your_work_dir}/conf:/opt/shenyu-admin/conf -d -p 9095:9095 --net
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:${current.version}
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:${current.version}
 ```
diff --git a/versioned_docs/version-2.4.2/deployment/deployment-docker.md b/versioned_docs/version-2.4.2/deployment/deployment-docker.md
index e2e57cfce2..d40b6296d9 100644
--- a/versioned_docs/version-2.4.2/deployment/deployment-docker.md
+++ b/versioned_docs/version-2.4.2/deployment/deployment-docker.md
@@ -52,8 +52,7 @@ In the host, the directory where the bootstrap [configuration file](https://gith
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:2.4.2
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:2.4.2
 ```
 
@@ -76,6 +75,7 @@ The additional parameter `agent` means to start `shenyu-agent`.
 > docker pull apache/shenyu-bootstrap:2.4.2
 > docker run -d \
   -p 9195:9195 \
+  --net shenyu \
   -v $AGENT_CONF:/opt/shenyu-bootstrap/agent/conf \
   -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:2.4.2 agent
diff --git a/versioned_docs/version-2.4.3/deployment/deployment-docker.md b/versioned_docs/version-2.4.3/deployment/deployment-docker.md
index 5733cca691..97804c6609 100644
--- a/versioned_docs/version-2.4.3/deployment/deployment-docker.md
+++ b/versioned_docs/version-2.4.3/deployment/deployment-docker.md
@@ -66,7 +66,6 @@ In the host, the directory where the bootstrap [configuration file](https://gith
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:${current.version}
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:${current.version}
 ```
diff --git a/versioned_docs/version-2.5.0/deployment/deployment-docker.md b/versioned_docs/version-2.5.0/deployment/deployment-docker.md
index 57abdb16b8..62a8aa7c21 100644
--- a/versioned_docs/version-2.5.0/deployment/deployment-docker.md
+++ b/versioned_docs/version-2.5.0/deployment/deployment-docker.md
@@ -66,7 +66,6 @@ In the host, the directory where the bootstrap [configuration file](https://gith
 > docker network create shenyu
 > docker pull apache/shenyu-bootstrap:${current.version}
 > docker run -d \
-  -p 9195:9195 \
-  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
+  -p 9195:9195 \  -v $BOOTSTRAP_CONF:/opt/shenyu-bootstrap/conf \
   apache/shenyu-bootstrap:${current.version}
 ```