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
Named volumes get wiped by `docker compose down -v`, forcing
re-authentication every time. Bind-mount ~/.claude and ~/.codex
to the host instead so credentials survive container cleanup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 6fb6bfc15555
- **Docker socket**: allows the container to control host Docker (`docker compose run`, `docker exec`, etc.). Remove if not needed.
32
-
- **Named volumes**: persist Claude Code/Codex session history and mise-installed runtimes across container recreations. Only cleared by `docker compose down -v`.
30
+
- **Bind mounts (`~/.claude`, `~/.codex`)**: persist auth and session data on the host. Survives `docker compose down -v`.
31
+
- **Named volume (`mise-data`)**: persists mise-installed runtimes across container recreations. Cleared by `docker compose down -v`.
33
32
- **gitconfig**: mounts host git config (read-only) so `git commit` and `git push` work inside the container.
34
33
35
34
Start the container and connect:
@@ -50,33 +49,10 @@ With [sheldon](https://github.com/rossmacarthur/sheldon), add to `~/.config/shel
Multiple instances can run in parallel — each `agent` call creates a separate container. Use [git-wt](https://github.com/k1LoW/git-wt) worktrees to avoid file conflicts when multiple agents work on the same repo.
0 commit comments