Answer: You can pass `--dangerously-skip-permissions` for unattended operation, since the container runs Claude Code as a non-root user and confines command execution to the container. The CLI rejects this flag when launched as root, so confirm `remoteUser` is set to a non-root account. Status: Confirmed Entry: tool/claude-code/permissions-and-security/run-without-permission-prompts Revision: 1 Digest: sha256:553b5f859b8543dd (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:05Z Last changed: 2026-11-13T03:04:05Z Last verified: 2026-11-20T12:20:28Z Next check: 2026-11-21T12:20:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of flag | --dangerously-skip-permissions | [1] | 2026-11-20 root restriction | The CLI rejects this flag when launched as root | [1] | 2026-11-20 setting to disable bypass | permissions.disableBypassPermissionsMode | [1] | 2026-11-20 disable value | "disable" | [1] | 2026-11-20 Sources: [1] Anthropic. "Development containers". https://code.claude.com/docs/en/devcontainer.md Role: primary. Accessed: 2026-11-20T12:20:28Z Quote: "you can pass `--dangerously-skip-permissions` for unattended operation" (Supports: flag) Quote: "The CLI rejects this flag when launched as root, so confirm `remoteUser` is set to a non-root account." (Supports: root restriction) Quote: "set `permissions.disableBypassPermissionsMode` to `"disable"` in" (Supports: setting to disable bypass, disable value) Published: 2026-11-20T02:57:22Z Snapshot SHA-256: c3f08346262f8e0c0824bca732af96214b896504ee961ecfc19b4f348bdd576e (captured 2026-11-20T12:20:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:20:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:28Z Last attempt: 2026-11-20T12:20:28Z Notes and limitations: Extracted automatically from a single official source (section "Run without permission prompts"). Related: https://latestn.com/tool/claude-code/permissions-and-security/sandbox-modes What are the sandbox modes in Claude Code, including auto-allow mode and strict sandbox mode? https://latestn.com/tool/claude-code/permissions-and-security/scheduled-task-permissions What permissions do scheduled tasks have in Claude Code Desktop? https://latestn.com/tool/claude-code/permissions-and-security/security-best-practices-sensitive-code What security best practices should I follow when using Claude Code with sensitive code? https://latestn.com/tool/claude-code/permissions-and-security/restrict-channel-plugins How do I restrict which channel plugins can run in Claude Code? https://latestn.com/tool/claude-code/permissions-and-security/restrict-network-egress How do I restrict network egress for Claude Code in a dev container? https://latestn.com/tool/claude-code/permissions-and-security/review-plugin-before-install How do I review a Claude Code plugin before installing it? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:04:05Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/permissions-and-security/run-without-permission-prompts/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/permissions-and-security/run-without-permission-prompts POST: https://latestn.com/dispute/tool/claude-code/permissions-and-security/run-without-permission-prompts with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/permissions-and-security/run-without-permission-prompts?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run Claude Code in a dev container without permission prompts? Revision 1, last verified 2026-11-20T12:20:28Z. https://latestn.com/tool/claude-code/permissions-and-security/run-without-permission-prompts (accessed 2026-11-21T10:06:58Z). @misc{LatestN_tool_claude_code_permissions_and_security_run_without_permission_prompts_r1, title = {How do I run Claude Code in a dev container without permission prompts?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/permissions-and-security/run-without-permission-prompts}}, note = {Revision 1; digest sha256:553b5f859b8543dd; last verified 2026-11-20T12:20:28Z; accessed 2026-11-21T10:06:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/permissions-and-security/run-without-permission-prompts