docker rmi dingling = true

sudo docker rmi $(docker images -f "dangling=true" -q)
Restu Wahyu Saputra