dev@cloudburo

Docker Small Hints #4: Cleaning up your local zombie docker images

The following commands I found very useful to get rid of zombie docker objects/images, which are accumulated over testing time. If you don’t remove them from time to time, it can happen that your local docker environment runs out of space. Or you get some weird FileSystem errors during your docker build.


  docker ps -a -q | xargs -n 1 docker rm 
   docker images -q --filter "dangling=true" | xargs docker rmi 
  docker images 

comments powered by Disqus