From e9358b8920876d88809668ea7c75633888582460 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Sat, 27 Apr 2024 21:43:32 +0800 Subject: [PATCH] Update duokai.sh --- duokai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duokai.sh b/duokai.sh index 0c5cb88..4cdafeb 100644 --- a/duokai.sh +++ b/duokai.sh @@ -58,7 +58,7 @@ do mkdir -p "$storage_path" # 运行容器,并设置重启策略为always - container_id=$(docker run -d --restart always -v "$storage_path:/root/.titanedge/storage" --name "titan$i" nezha123/titan-edge:1.4) + container_id=$(docker run -d --restart always -v "$storage_path:/root/.titanedge/storage" --name "titan$i" --net=host nezha123/titan-edge:1.4) echo "节点 titan$i 已经启动 容器ID $container_id"