Check out example codes for "delete docker image repository none". It will help you in understanding the concepts better.

Code Example 1

docker rmi $(docker images -f “dangling=true” -q)

Learn ReactJs, React Native from akashmittal.com