[BUG] needed to remove domains in `init-firewall.sh` to launch dev container (Mac)

Resolved 💬 2 comments Opened Jun 10, 2026 by bsodmike Closed Jun 11, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I'm installing claude in Docker for the first time. I commented out the following to get this to launch correctly:

# Resolve and add other allowed domains
for domain in \
    "registry.npmjs.org" \
    "api.anthropic.com" \
    "sentry.io" \
    "statsig.anthropic.com" \
    "statsig.com"; do
    # "update.code.visualstudio.com" \
    # "marketplace.visualstudio.com" \
    # "vscode.blob.core.windows.net"; do
    echo "Resolving $domain..."

What Should Happen?

I should not need to edit the domain list

Error Messages/Logs

[1441 ms] postStartCommand from devcontainer.json failed with exit code 127. Skipping any further user-provided commands. [1442 ms] Error: Command failed: /bin/sh -c sudo /usr/local/bin/init-firewall.sh

Steps to Reproduce

  1. clone new repo, start with no containers/images in docker desktop on Mac
  2. attempt to launch dev container, it will abort in the firewall init script.
  3. disable domains (see the 3 I disabled) and run it again, it then works

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

Latest master branch

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗