scripts/docker-clean
2022-04-03 23:53:51 +03:00

11 lines
167 B
Bash
Executable File

#!/bin/sh
# Stop everything
docker stop $(docker ps -a -q)
# Remove all containers
docker rm $(docker ps -a -q)
# Remove all imagesa
docker rmi $(docker images -q)