Shell script to remove all containers and images. The scrit will stop all running containers (if any) before running. Containers once remove, images will be removed as well
Important
This scrit is going to remove ALL containers, images. So use this script when you are sure that you wish to remove all of images.
-
Move to the directory the script is downloaded
cd remove-containers-images
-
Execude the script as:
./remove-images.sh