[BUG] devcontainer doesnt allow for screenshots to be attached

Resolved 💬 3 comments Opened Aug 28, 2025 by fiatphobia Closed Aug 31, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • Claude CLI version: <!-- output of claude --version --> 1.0.95 (Claude Code)
  • Operating System: macOS 13.2.1 (22D68)
  • Terminal: Cursor Terminal

Bug Description

Running claude code within a Dev Container with the Dev Containers extension on cursor fails to attach screenshots. Attaching screenshots works fine without using a dev container.

Steps to Reproduce

  1. Open dev container folder in cursor
  2. Start claude code, in my case claude --dangerously-skip-permissions
  3. Take a screenshot and paste from clipboard to claude code, image is not attached. I tried pasting a screenshot without the dev container sandbox and it attaches fine.

Expected Behavior

Image is attached to claude code

Actual Behavior

Nothing happens.

View original on GitHub ↗

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