Skip to content

Commit b71cb4b

Browse files
committed
update start script
1 parent 9572f41 commit b71cb4b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

container-manager/start.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash
2+
version="generator-v1.1.0"
23
current_dir="$(cd "$(dirname "$0")" && pwd)"
34
network_name="docker_net"
45

6+
docker pull xinfinorg/subnet-generator:$version
57
mkdir -p generated/scripts
68

79
if ! docker network inspect "$network_name" > /dev/null 2>&1; then
@@ -17,7 +19,8 @@ docker run -d \
1719
-v /var/run/docker.sock:/var/run/docker.sock \
1820
-v $current_dir/generated:/mount/generated \
1921
-e HOSTPWD=$current_dir/generated \
20-
xinfinorg/subnet-generator:latest \
22+
xinfinorg/subnet-generator:$version \
2123
&& \
2224
echo 'if this is running on your server, first use ssh tunnel: ssh -N -L localhost:5210:localhost:5210 <username>@<ip_address> -i <private_key_file>' && \
23-
echo 'Open http://localhost:5210 to access Subnet Deployment Wizard'
25+
echo 'if you are using VSCode Remote Explorer, ssh tunnel will be available by default' && \
26+
echo 'http://localhost:5210 to access Subnet Deployment Wizard'

0 commit comments

Comments
 (0)