Commit 52387df2 authored by zgyzgyhero's avatar zgyzgyhero
Browse files

Update remove bash

parent 96d6c8bb
Showing with 4 additions and 0 deletions
+4 -0
......@@ -13,4 +13,8 @@ docker-compose -f wecube_core_mysql.yml down
if [[ -n `docker images|grep -v $1|grep -E 'platform-core|platform-gateway|wecube-portal|platform-auth-server|wecube-db'|awk '{print $1":"$2}'` ]]
then
docker rmi `docker images|grep -v $1|grep -E 'platform-core|platform-gateway|wecube-portal|platform-auth-server|wecube-db'|awk '{print $1":"$2}'`
fi
if [[ -n `docker images|grep none|awk '{print $3}'` ]]
then
docker rmi `docker images|grep none|awk '{print $3}'`
fi
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment