Skip to content

Commit 9e566d4

Browse files
committed
Docker cleanup script
1 parent 19108f7 commit 9e566d4

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

packages/evals/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,8 @@ services:
7777
tty: true
7878
profiles:
7979
- runner
80+
81+
networks:
82+
default:
83+
name: evals_default
84+
driver: bridge
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
echo "🧹 Cleaning up Docker resources for evals..."
4+
5+
echo "Stopping containers..."
6+
docker compose down --remove-orphans
7+
8+
echo "Removing dangling networks..."
9+
docker network prune -f
10+
11+
echo "Removing unused volumes..."
12+
docker volume prune -f
13+
14+
echo "Removing dangling images..."
15+
docker image prune -f
16+
17+
echo "✅ Cleanup complete!"

0 commit comments

Comments
 (0)