claude-code - 💡(How to fix) Fix Cloud sandbox: enable Docker daemon for container builds

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Solo build of a healthcare-billing SaaS using Claude Code on the web (cloud sessions) for phone-driven development. The cloud sandbox has the Docker CLI installed but dockerd is not running, so docker build, docker run, and Docker Compose stacks are all blocked.

Phase 1 substrate (infrastructure-as-code, GitHub Actions, Bicep) doesn't need container builds locally — they run in Actions, which has its own daemon. But Phase 2+ work, particularly anything around containerized testing, devcontainers, or local Postgres/Redis sidecars, will hit this wall.

Root Cause

Solo build of a healthcare-billing SaaS using Claude Code on the web (cloud sessions) for phone-driven development. The cloud sandbox has the Docker CLI installed but dockerd is not running, so docker build, docker run, and Docker Compose stacks are all blocked.

Phase 1 substrate (infrastructure-as-code, GitHub Actions, Bicep) doesn't need container builds locally — they run in Actions, which has its own daemon. But Phase 2+ work, particularly anything around containerized testing, devcontainers, or local Postgres/Redis sidecars, will hit this wall.

Fix Action

Fix / Workaround

Today's workaround

If there's a path to enable dockerd (or accept a sidecar daemon socket), a SessionStart hook can handle activation. If no path exists, I'll document the boundary explicitly and stay on the "container work happens in Actions / desktop" workaround.

RAW_BUFFERClick to expand / collapse

Context

Solo build of a healthcare-billing SaaS using Claude Code on the web (cloud sessions) for phone-driven development. The cloud sandbox has the Docker CLI installed but dockerd is not running, so docker build, docker run, and Docker Compose stacks are all blocked.

Phase 1 substrate (infrastructure-as-code, GitHub Actions, Bicep) doesn't need container builds locally — they run in Actions, which has its own daemon. But Phase 2+ work, particularly anything around containerized testing, devcontainers, or local Postgres/Redis sidecars, will hit this wall.

Today's workaround

  • Container builds happen in GitHub Actions
  • Local container experimentation requires a desktop session

What I'd like to know

  • Is enabling dockerd in the cloud sandbox technically feasible, or is it already gated behind a config option I haven't found?
  • If not, are nested rootless docker / Podman / sysbox-style alternatives viable as a path to container builds?
  • Roadmap timing for in-sandbox container support.

If there's a path to enable dockerd (or accept a sidecar daemon socket), a SessionStart hook can handle activation. If no path exists, I'll document the boundary explicitly and stay on the "container work happens in Actions / desktop" workaround.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Cloud sandbox: enable Docker daemon for container builds