Docker images <none>

  1. Dangling docker images. These are the “<none> <none>” you see when you type docker images. You can use docker rmi $(docker images -f “dangling=true" -q) to clean these up. docker images -f “dangling=true" -q shows you all of the dangling images and rmi will remove all of them. Unfortunately, with this code, it return an error if you do not have any dangling images and would need another condition to do nothing. A solution would be to use docker images prune -a instead (only works for docker version above 1.25). Check into docker system prune if you are using multiple containers, volumes and networks.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joey Lee

Joey Lee

More from Medium

Introduction to GIT 👨‍💻👩‍💻

Installing and using Git and GitHub on Ubuntu Linux: A beginner’s guide

Git and Github

Github vs Gitlab