按关键词停止容器

docker ps | grep xxx | awk '{print $1}' | xargs docker stop

最后更新于

这有帮助吗?