In this lesson, we will look at docker container prune to remove old docker containers. We can also use docker system prune to clean up any containers, images, volumes, and networks all in one command.

This will remove all containers that are not currently running.

docker container prune

The same as images:

docker image prune

You can also use:

docker system prune

to clean volumes, images, and containers.

Use docker system prune -a to remove not only all dangled images, but all unused images as well.

docker system prune -a

最新文章

  1. LogStash配置、使用(三)
  2. join()方法之我见
  3. 为什么xcode7请求不成功
  4. GO语言练习:网络编程 TCP 示例
  5. 不可或缺 Windows Native (8) - C 语言: 结构体,共用体,枚举,类型定义符
  6. uboot 2014.04 运行过程记录
  7. vue中如何不通过路由直接获取url中的参数
  8. 浅谈设计模式--单例模式(Singleton Pattern)
  9. 网页优化URI(http URI scheme与data URI scheme)
  10. 初见Gnuplot——时间序列的描述
  11. Javascript中最常用的61段经典代码
  12. 2015年iOS测试现状
  13. IOS开发--数据持久化篇文件存储(二)
  14. C++中弱符号(弱引用)的意义及实例
  15. 使用Python改写的身份证信息查询小程序
  16. iOS开发之延时执行
  17. MYSQL数据库学习六 索引的操作
  18. 基于 MySQL 的数据库实践(自然连接)
  19. HBase源码实战:CreateRandomStoreFile
  20. windows下elasticsearch6.X安装IK分词器

热门文章

  1. 基于Linux系统的Nagios网络管理模块的实现
  2. golang标准包中文手册
  3. scrapy爬取知乎某个问题下的所有图片
  4. BZOJ1014[JSOI2008]火星人prefix(splay维护hash)
  5. x64系统下,InpOutx64有数字签名而WinIO3.0无数字签名
  6. 【Codeforces Round #452 (Div. 2) C】 Dividing the numbers
  7. CentOS6 安装中文包和变更系统默认语言
  8. redhat6.5安装10201解决办法
  9. 需求:在浏览器加载完毕后,自动播放视频:出现play() failed because the user didn't interact with the document first.错误
  10. Jenkins学习总结(1)——Jenkins详细安装与构建部署使用教程