一行删除所有docker container的命令
ns=`docker ps -a | tail -n +2 | awk '//{print $1}'`;for n in $ns;do docker rm -f $n;done
docker ps -a | tail -n +2 | awk '{print $1}'|xargs -n1 docker rm -f
docker rm -f $(docker ps -qa)
for i in `docker ps -a | sed '1d' | awk '{print $NF}'`; do docker rm -f $i; done