docker ps -a | awk '{ print $1,$2 }' | grep mariadb | awk '{print $1 }' | xargs -I {} docker rm {}
Copied from https://linuxconfig.org/remove-all-containners-based-on-docker-image-name
docker ps -a | awk '{ print $1,$2 }' | grep mariadb | awk '{print $1 }' | xargs -I {} docker rm {}
Copied from https://linuxconfig.org/remove-all-containners-based-on-docker-image-name