1.docker批量删除某些images
docker rmi $(docker images | grep "唯一的关键字"|awk '{print $3}')
2.学习链接:
https://cloud.tencent.com/developer/information/docker%E9%95%9C%E5%83%8F%E5%88%A0%E9%99%A4
理解镜像的分层:https://cloud.tencent.com/developer/article/1398075
3.attach命令
见菜鸟教程:https://www.runoob.com/docker/docker-attach-command.html
docker attach --sig-proxy=false 容器名
不会将运行的容器停掉
4.