Browse Source

更新 'init-per.sh'

胡增文 6 months ago
parent
commit
dfec936088
1 changed files with 3 additions and 0 deletions
  1. 3 0
      init-per.sh

+ 3 - 0
init-per.sh

@@ -15,6 +15,9 @@ else
   port="0$2"
 fi
 
+# 授权docker
+sudo usermod -aG docker zhili
+
 # 判断组网服务
 create_one=false
 if ! sudo docker ps -q -f name="one" | grep -q .; then