Created
November 4, 2025 15:47
-
-
Save supermarsx/bac0d2b76758e54c175300b28b7a0cdd to your computer and use it in GitHub Desktop.
Shutdown and remove all Docker Compose containers subfolders within a directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -type f \( -name "docker-compose.yml" -o -name "compose.yaml" \) -execdir sh -c 'echo "↓ Stopping in $(pwd)"; docker compose down' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment