You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable Docker-in-Sandbox via Modal's official alpha support
Switch from manual docker.io + background dockerd to Modal's
enable_docker experimental option with proper networking setup:
- ubuntu:22.04 base with Docker CE 27.5.0 from official repo
- runc v1.3.0 for reliable networking in gVisor
- iptables-legacy (gVisor lacks nftables support)
- Proper NAT/SNAT rules in start-dockerd.sh
- Wait-for-dockerd readiness before starting runner
- Adds test-docker.yml to validate Docker + services (postgres)
Copy file name to clipboardExpand all lines: DEPLOY.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ This guide outlines the steps to deploy this project using Modal.
87
87
88
88
### ⚠️ Limitations
89
89
90
-
***Docker-in-Docker:**Standard GitHub "Container Actions" (actions that run inside a Docker container) are not supported by default within Modal Sandboxes.
90
+
***Docker-in-Docker:**Docker support is enabled via Modal's Alpha Docker-in-Sandbox feature (`experimental_options={"enable_docker": True}`). GitHub Actions `services:` and container actions should work, but this is an Alpha feature and may have edge cases.
91
91
* **Wiping State:** Every job runs in a fresh sandbox. Files saved outside the repository workspace will be lost after the job completes.
0 commit comments