Your AI coding agent's dev container is not a sandbox: docker.sock, --privileged and ~/.ssh mounts
Running Claude Code, Codex or Aider in a dev container feels safe, until the container gets privileged mode, the host Docker socket, the host network or your ~/.ssh and ~/.aws folders. Here is what the Docker and Dev Container docs say about each setting, how to fix them, and BoxEscape, a free VS Code extension that flags them in devcontainer.json, Compose files and docker run scripts.