TL;DR
% docker images | grep none | xargs docker rmi `awk '{ print $3 }'`
Error response from daemon: conflict: unable to delete 78ef4af0ce83 (must be forced) - image is referenced in multiple repositories
If you get an error like the one above, use -f
to forcibly delete it.
% docker images | grep none | xargs docker rmi -f `awk '{ print $3 }'`
Recommended Posts