Browse Source

update docker

main
有安科技 4 months ago
parent
commit
66d2942f4a
  1. 4
      docker/readme.txt
  2. 8
      docker/uuwaf.sh
  3. BIN
      docs/waf.tgz

4
docker/readme.txt

@ -2,10 +2,10 @@
docker版本1.20以上
解压南墙安装包:
tar zxvf waf.tgz && cd waf
tar -zxf waf.tgz && cd waf
南墙Docker管理:执行如下面命令,根据提示启动南墙docker服务
sh uuwaf.sh
bash uuwaf.sh
快速入门:
1、登录后台,访问https://wafip:4443,wafip为安装南墙的服务器ip,用户名admin,密码Passw0rd!

8
docker/uuwaf.sh

@ -42,8 +42,8 @@ uninstall_uuwaf(){
stop_uuwaf
docker rm -f uuwaf wafdb > /dev/null 2>&1
docker network rm wafnet > /dev/null 2>&1
docker images|grep nanqiang|awk '{print $3}'|xargs docker rmi -f
docker volume ls|grep wafshared|awk '{print $2}'|xargs docker volume rm -f
docker images|grep nanqiang|awk '{print $3}'|xargs docker rmi -f > /dev/null 2>&1
docker volume ls|grep waf|awk '{print $2}'|xargs docker volume rm -f > /dev/null 2>&1
}
start_uuwaf(){
@ -58,7 +58,9 @@ start_uuwaf(){
}
update_uuwaf(){
uninstall_uuwaf
stop_uuwaf
docker images|grep nanqiang|awk '{print $3}'|xargs docker rmi -f > /dev/null 2>&1
docker volume ls|grep wafshared|awk '{print $2}'|xargs docker volume rm -f > /dev/null 2>&1
start_uuwaf
}

BIN
docs/waf.tgz

Binary file not shown.
Loading…
Cancel
Save