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

lizhimins pushed a commit to branch rocketmq-studio
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git


The following commit(s) were added to refs/heads/rocketmq-studio by this push:
     new a7daa621a docs: make the Quick Start Docker network setup idempotent 
(#5096)
a7daa621a is described below

commit a7daa621af71ec99e3db8f7a5646e2ffc028014f
Author: Qingyuan Wang <[email protected]>
AuthorDate: Thu Oct 1 17:28:59 2026 +0800

    docs: make the Quick Start Docker network setup idempotent (#5096)
    
    Signed-off-by: Qingyuan Wang <[email protected]>
---
 README.md    | 4 ++--
 README_zh.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 57d2b9087..0a4576e03 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Studio. Open the agent at the repository root and paste the 
prompt below:
 ```text
 Set up and run RocketMQ Studio locally from this repository:
 1. Check that Docker and Docker Compose are installed. If not, tell me how to 
install them and stop.
-2. Create the shared network: `docker network create rocketmq_net` (ignore the 
error if it already exists).
+2. Create the shared network if it does not exist: `docker network inspect 
rocketmq_net >/dev/null 2>&1 || docker network create rocketmq_net`.
 3. Build and start Studio: `docker compose -f deploy/docker-compose.yml up -d 
--build`.
 4. Wait for the backend to become healthy, then open http://127.0.0.1:6789 and 
confirm the page loads.
 Report the running containers and any errors. Do not modify source code or 
create commits.
@@ -30,7 +30,7 @@ Run from the repository root:
 
 ```bash
 # 1. Create the shared Docker network (the compose files attach to it as 
external)
-docker network create rocketmq_net
+docker network inspect rocketmq_net >/dev/null 2>&1 || docker network create 
rocketmq_net
 
 # 2. Build and start RocketMQ Studio (mysql + rocketmq-server + rocketmq-web)
 docker compose -f deploy/docker-compose.yml up -d --build
diff --git a/README_zh.md b/README_zh.md
index b08f58662..a6827f93e 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -14,7 +14,7 @@ RocketMQ Studio 是一个面向多集群、多架构环境的 RocketMQ 管控平
 ```text
 从当前仓库在本地拉起并运行 RocketMQ Studio:
 1. 确认已安装 Docker 与 Docker Compose;若未安装,告诉我安装方式并停止。
-2. 创建共享网络:`docker network create rocketmq_net`(若已存在,忽略报错)。
+2. 若共享网络不存在则创建:`docker network inspect rocketmq_net >/dev/null 2>&1 || docker 
network create rocketmq_net`。
 3. 构建并启动 Studio:`docker compose -f deploy/docker-compose.yml up -d --build`。
 4. 等待后端健康检查通过后,打开 http://127.0.0.1:6789 确认页面正常加载。
 最后报告运行中的容器与任何错误。不要修改源码,也不要提交任何改动。
@@ -29,7 +29,7 @@ RocketMQ Studio 是一个面向多集群、多架构环境的 RocketMQ 管控平
 
 ```bash
 # 1. 创建共享 Docker 网络(compose 文件以 external 方式引用它)
-docker network create rocketmq_net
+docker network inspect rocketmq_net >/dev/null 2>&1 || docker network create 
rocketmq_net
 
 # 2. 构建并启动 RocketMQ Studio(mysql + rocketmq-server + rocketmq-web)
 docker compose -f deploy/docker-compose.yml up -d --build

Reply via email to