Answers for "prune docker containers and images"

3

docker remove all images

docker rmi $(docker images -a -q)
Posted by: Guest on November-13-2020
0

remove all docker images

$images = docker images -a -q
foreach ($image in $images) { docker image rm $image -f }
Posted by: Guest on November-19-2020

Code answers related to "prune docker containers and images"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language