通过进程ID查找容器

for i in  `docker ps -q`;do docker top $i; done
 for i in $(docker ps -q); do docker top $i; done
或
for i in  `docker ps |grep Up|awk '{print $1}'`;do docker top $i; done