#!/usr/bin/env bash

echo Linux version of wipe-all-images not fully tested
echo USE AT YOUR OWN RISK
echo
echo About to delete all images containing the string "{$project_name}"
read -p "Are you sure? " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
    docker image rm -f $(docker image ls | grep {$project_name})
fi
