Shell/Bash: how to delete dangling docker images Example

By

Shell/Bash Example: This is the "how to delete dangling docker images" Example. compiled from many sources on the internet by SimpleTutorials.org

how to delete dangling docker images

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

how to delete dangling docker images

sudo sh -c 'docker rmi $(docker images -f "dangling=true" -q)'



* Summary: This "how to delete dangling docker images" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others