Update duokai.sh
This commit is contained in:
parent
c7f14ace54
commit
e9358b8920
@ -58,7 +58,7 @@ do
|
|||||||
mkdir -p "$storage_path"
|
mkdir -p "$storage_path"
|
||||||
|
|
||||||
# 运行容器,并设置重启策略为always
|
# 运行容器,并设置重启策略为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"
|
echo "节点 titan$i 已经启动 容器ID $container_id"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user