[PLDWWW] page changed: packages:docker

"Elan Ruusamäe (glen)" glen at pld-linux.org
Tue May 31 07:50:53 CEST 2016


[Getting rid of unused images] 

--- https://www.pld-linux.org/packages/docker?rev=1455620532
+++ https://www.pld-linux.org/packages/docker?rev=1464673853
@@ -36,13 +36,24 @@
     net.ipv4.ip_forward=1
  
  ===== How To ===== 
  
- ==== Getting rid of unused images ====
+ ==== Maintenance ====
+ 
+ Getting rid of unused images
  
  <code>
+ docker images --filter dangling=true
  docker rmi $(docker images --filter dangling=true --quiet)
  </code>
+ 
+ Getting rid of unused volumes
+ <code>
+ $ docker volume ls -qf dangling=true
+ $ docker volume ls -qf dangling=true | xargs -r docker volume rm
+ </code>
+ 
+ For Docker < 1.9, see [[https://github.com/chadoe/docker-cleanup-volumes|docker-cleanup-volumes]] tool.
  ===== PLD Base image =====
  
  Simple script to create new base image for pld:
  


Diff URL:
  https://www.pld-linux.org/packages/docker?do=diff&r1=1455620532&r2=1464673853
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list