📜  如何一次删除所有 docker 容器 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:28.861000             🧑  作者: Mango

代码示例1
to remove all the docker containers at once.
$docker rm $(docker ps -a -q)

to remove all the docker images at once.
$docker rmi $(docker images -a -q)