📜  docker remove 已退出的容器 - Shell-Bash 代码示例

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

代码示例3
# remove containers created between now upto 4hrs back
docker container prune --filter "until=4h"

# remove images created between now upto 4hrs back
docker image prune --filter "until=4h"