Created
November 17, 2023 23:12
-
-
Save memoryleak/757bf5270ef9db70f7cda57ad0022229 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
docker compose ls | awk '{print $3}' | grep "docker-compose.yml" | xargs -I% -P0 bash -c "docker compose -f % pull" | |
docker system prune -a -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment