Skip to content

Add docker network prune to workspace setup - #296

Merged
bokelley merged 2 commits into
mainfrom
bokelley/fix-docker-network-pool
Dec 12, 2025
Merged

bokelley merged 2 commits into
mainfrom
bokelley/fix-docker-network-pool

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Prune orphaned Docker networks before creating new workspaces to prevent "all predefined address pools have been fully subnetted" errors. This fixes issues when creating many workspaces over time.

Why: Docker has a limited subnet pool (~31 networks by default). Old workspace networks aren't cleaned up when workspaces are deleted, causing new workspace setup to fail.

What: Adds docker network prune -f to the setup script, running after Docker starts but before creating the postgres network.

bokelley and others added 2 commits December 12, 2025 08:17
Prune orphaned Docker networks before creating new workspaces to prevent
"all predefined address pools have been fully subnetted" errors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant