for image in `docker images|awk '!a[$1]++ {print $1}'|grep test`
do
for m in `docker images|grep $image|awk 'NR > 4 {printf "%s:%s:%s\n",$1,$2,$3}'`
do
id=`echo $m|awk -F ":" '{print $3}'`
echo 'delete docker== > '$m
done
done
for image in `docker images|awk '!a[$1]++ {print $1}'|grep test`
do
for m in `docker images|grep $image|awk 'NR > 4 {printf "%s:%s:%s\n",$1,$2,$3}'`
do
id=`echo $m|awk -F ":" '{print $3}'`
echo 'delete docker== > '$m
done
done