#!/bin/bash
set -e

docker images -q 'librarytest/*' | xargs docker rmi -f

#!/bin/bash
set -e

docker images 'librarytest/*' | awk 'NR>1 { print $1":"$2 }' | xargs -r docker rmi

Remove tags only instead of images
Remove tags only instead of images
