[Docker](EN) Remove docker images marked as <none> which does not have tag and name

Remove docker images marked as <none>


Environment and Prerequisite

  • Docker


Remove Command

Command

docker rmi $(docker images --filter "dangling=true" --quiet --no-trunc)

Options

  • --filter: Filter out docker images("dangling=true" represents untagged docker images)
  • --quiet: Show only id of docker images
  • --no-trunc: Show full id of docker image


Reference