FIX: Cleanup Script

This commit is contained in:
Nishan
2025-04-10 12:12:22 +05:30
parent c9005dc150
commit c7bf53c630
5 changed files with 17 additions and 7 deletions

View File

@@ -333,7 +333,7 @@ try {
Write-ColorOutput "CK-X Simulator has been installed in: " -NoNewline
Write-ColorOutput "$(Get-Location), run all below commands from this directory" "Green"
Write-ColorOutput "To stop CK-X: " -NoNewline
Write-ColorOutput "docker compose down" "Green"
Write-ColorOutput "docker compose down --volumes --remove-orphans --rmi all" "Green"
Write-ColorOutput "To Restart CK-X: " -NoNewline
Write-ColorOutput "docker compose restart" "Green"
Write-ColorOutput "To clean up all containers and images: " -NoNewline

View File

@@ -221,7 +221,7 @@ main() {
echo -e "\n${BLUE}Useful Commands${NC}"
echo -e "${CYAN}==============================================================${NC}"
echo -e "${YELLOW}CK-X Simulator has been installed in:${NC} ${GREEN}$(pwd)${NC}, run all below commands from this directory"
echo -e "${YELLOW}To stop CK-X ${GREEN}docker compose down${NC}"
echo -e "${YELLOW}To stop CK-X ${GREEN}docker compose down --volumes --remove-orphans --rmi all${NC}"
echo -e "${YELLOW}To Restart CK-X:${NC} ${GREEN}docker compose restart${NC}"
echo -e "${YELLOW}To clean up all containers and images:${NC} ${GREEN}docker system prune -a${NC}"
echo -e "${YELLOW}To remove only CK-X images:${NC} ${GREEN}docker compose down --rmi all${NC}"