diff --git a/docker/readme.txt b/docker/readme.txt index 3bb1715..990c36c 100644 --- a/docker/readme.txt +++ b/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! diff --git a/docker/uuwaf.sh b/docker/uuwaf.sh index 01a6ee8..c77d4bc 100644 --- a/docker/uuwaf.sh +++ b/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 } diff --git a/docs/waf.tgz b/docs/waf.tgz index 57aae12..6c195b8 100644 Binary files a/docs/waf.tgz and b/docs/waf.tgz differ