Skip to content

Instantly share code, notes, and snippets.

@luchsamapparat
Last active March 31, 2019 17:15
Show Gist options
  • Save luchsamapparat/1c50446cc77611e8abadab44fd7aac20 to your computer and use it in GitHub Desktop.
Save luchsamapparat/1c50446cc77611e8abadab44fd7aac20 to your computer and use it in GitHub Desktop.
Remove dangling docker images on Windows
FOR /f "tokens=*" %i IN ('docker images -q -f "dangling=true"') DO docker rmi %i
@johnrizzo1
Copy link

johnrizzo1 commented Mar 23, 2017

This doesn't work for me on windows 10.

Docker version 17.03.0-ce, build 60ccb22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment