diff --git a/scripts/CLEANUP.md b/scripts/CLEANUP.md index 4092f8d..d6dfd3f 100644 --- a/scripts/CLEANUP.md +++ b/scripts/CLEANUP.md @@ -228,6 +228,7 @@ docker volume ls --format '{{.Name}}' | grep 'ac_' | xargs docker volume rm # Manual image removal docker images --format '{{.Repository}}:{{.Tag}}' | grep '^acore/' | xargs docker rmi +docker images --format '{{.Repository}}:{{.Tag}}' | grep '^uprightbass360/azerothcore-wotlk-playerbots' | xargs docker rmi ``` ## Exit Codes diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index eb49943..7754ee4 100755 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -165,7 +165,7 @@ show_current_resources() { fi echo -e "${BLUE}Images:${NC}" - if docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" | grep -E "acore|azerothcore|phpmyadmin|keira3" | head -10; then + if docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" | grep -E "acore|azerothcore|phpmyadmin|keira3|uprightbass360.*playerbots" | head -10; then echo "" else echo " No AzerothCore-related images found" @@ -257,6 +257,9 @@ nuclear_cleanup() { execute_command "Remove AzerothCore server images" \ "docker images --format '{{.Repository}}:{{.Tag}}' | grep -E '^acore/' | xargs -r docker rmi" + execute_command "Remove mod-playerbots images" \ + "docker images --format '{{.Repository}}:{{.Tag}}' | grep -E '^uprightbass360/azerothcore-wotlk-playerbots' | xargs -r docker rmi" + execute_command "Remove related tool images" \ "docker images --format '{{.Repository}}:{{.Tag}}' | grep -E 'phpmyadmin|uprightbass360/keira3' | xargs -r docker rmi"