05
Sep

Kitematic – Simple Cleanup Script for Docker

Comments Off on Kitematic – Simple Cleanup Script for Docker

I was actually wondering when this problem would hit my local box on OS X and I though to share one solution in case it’s useful for anyone searching for a solution. The problem started when building a new docker image and I was getting the “no space left on device” message.

Solution:

$ docker-machine ssh dev
$ docker images | tail -n +2 | awk '$1 == "<none>" {print $3}' | xargs docker rmi

No Comments

No comments yet.

Sorry, the comment form is closed at this time.

Comments RSS Feed