docker images|grep none|awk '{print $3 }'|xargs docker rmi
删除部分
按天
docker images|grep "4 days"|awk '{print $3 }'|xargs docker rmi
按周
docker images|grep "2 weeks"|awk '{print $3 }'|xargs docker rmi
docker images|grep "[2-6] weeks"|awk '{print $3 }'|xargs docker rmi