#!/bin/bash

echo "stopping all containers"
docker stop $(docker ps -a -q)

echo "removing all containers"
docker rm $(docker ps -a -q)

echo "removing all volumes"
docker volume rm $(docker volume ls -q)

echo "removing all images"
docker rmi $(docker images -a -q)

echo "Docker cleanup done"
