mirror of
https://github.com/SpecterOps/Nemesis
synced 2026-06-08 12:36:42 +00:00
d08dcf8a96
Rename DpapiCryptoError, formatting/linting
24 lines
511 B
Bash
Executable File
24 lines
511 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Stop all containers
|
|
docker stop $(docker ps -aq)
|
|
|
|
# Remove all containers
|
|
docker rm $(docker ps -aq)
|
|
|
|
# Remove all images
|
|
docker rmi $(docker images -q) -f
|
|
|
|
# Remove all volumes
|
|
docker volume rm $(docker volume ls -q)
|
|
|
|
# Remove all networks (except default ones)
|
|
docker network rm $(docker network ls -q -f type=custom)
|
|
|
|
# Clean up build cache (this was missing!)
|
|
docker builder prune -a -f
|
|
docker buildx prune -a -f
|
|
|
|
# Final cleanup of any dangling resources
|
|
docker system prune -a --volumes -f
|