Same problem here on Ubuntu 24.04. DevContainer works in VSCode, fails in Cursor. Error along these lines: The editor could not be opened due to an unexpected error: ENOPRO: No file system provider found for resource 'vscode-remote://dev-container%2B7b22686f737 System: Version: 0.40.4 VSCode Ve… Answer from Stwissel on forum.cursor.com
🌐
Cursor
cursor.com › changelog › 0-22-0
Dev Containers · Cursor
January 6, 2024 - Cursor · Sign inContactContact salesDownload · 0.22.0 Jan 6, 2024 · Changelog · Changelog · Dev containers are now supported! This build also: Upgrades Cursor to VS Code 1.85, which comes with support for dragging out tabs into a new window. Improves the stability of WSL.
Discussions

Cursor Dev Containers extension (anysphere.remote-containers) UI missing/not showing when inside a Dev Container
Where does the bug appear (feature/product)? Cursor IDE Describe the Bug The “Dev Containers” extension (anysphere.remote-containers) UI and sidebar icon frequently disappear or fail to show up when already connected to a Dev Container session. Even though the extension is installed on ... More on forum.cursor.com
🌐 forum.cursor.com
5
0
January 1, 2026
A CLI to quickly launch VSCode/cursor devcontainers
Tooling that claims to improve developer productivity should be editor-agnostic. If Microsoft can’t fully support that, an alternative standard will emerge—because, ultimately, locking developers in rarely works long-term · Besides, the VS Code golden age has passed. More on news.ycombinator.com
🌐 news.ycombinator.com
23
49
March 4, 2025
[Marketplace] Unable to search for ms's dev containers extension
(only anysphere dev container is shown) Steps to Reproduce search dev container in market place Screenshots / Screen Recordings Operating System MacOS Current Cursor Version (Menu → About Cursor → Copy) Version: 1.2.2 VSCode Version: 1.99.3 Commit: faa03b17cce93e8a80b7d62d57f5eda6bb6ab9f0 ... More on forum.cursor.com
🌐 forum.cursor.com
10
2
July 8, 2025
Remote SSH + Dev Containers + Specifying Remote User
Describe the Bug Everyone I have talked to in my immediate circle has been facing this problem and it feels impossible to solve. Other people have gotten close but no thread actually has solved this problem. following the idea of mac->ssh into linux->starting a docker container (dev container). ... More on forum.cursor.com
🌐 forum.cursor.com
10
0
June 21, 2025
🌐
Medium
medium.com › @karpulix › cursor-ide-dev-containers-repository-configuration-paths-0be0e1c9c2da
Cursor IDE & Dev > Containers: Repository Configuration Paths - Alexander Karpov - Medium
November 13, 2025 - Cursor has its own version of the Dev Container extension that lacks the “Dev > Containers: Repository Configuration Paths” setting described here, which means you cannot configure Alternative Repository configuration folders.​
🌐
Cursor
forum.cursor.com › support › bug reports
Cursor Dev Containers extension (anysphere.remote-containers) UI missing/not showing when inside a Dev Container - Bug Reports - Cursor - Community Forum
January 1, 2026 - Where does the bug appear (feature/product)? Cursor IDE Describe the Bug The “Dev Containers” extension (anysphere.remote-containers) UI and sidebar icon frequently disappear or fail to show up when already connected to a Dev Container session. Even though the extension is installed on the host and was working earlier in the day, the “Containers” view and related commands often become unavailable without any configuration changes.
🌐
Code with Andrea
codewithandrea.com › articles › run-ai-agents-inside-devcontainer
How to Safely Run AI Agents Like Cursor and Claude Code Inside a DevContainer
December 3, 2025 - Container: For running AI agents and bypassing permission prompts · Host machine: For running the app manually and testing the UI ... Left: Claude code within Cursor (DevContainer mode). Middle: Cursor project on the host machine.
🌐
Hacker News
news.ycombinator.com › item
A CLI to quickly launch VSCode/cursor devcontainers | Hacker News
March 4, 2025 - Tooling that claims to improve developer productivity should be editor-agnostic. If Microsoft can’t fully support that, an alternative standard will emerge—because, ultimately, locking developers in rarely works long-term · Besides, the VS Code golden age has passed.
🌐
Cursor
forum.cursor.com › support › bug reports
[Marketplace] Unable to search for ms's dev containers extension - Bug Reports - Cursor - Community Forum
July 8, 2025 - (only anysphere dev container is shown) Steps to Reproduce search dev container in market place Screenshots / Screen Recordings Operating System MacOS Current Cursor Version (Menu → About Cursor → Copy) Version: 1.2.2 VSCode Version: 1.99.3 Commit: faa03b17cce93e8a80b7d62d57f5eda6bb6ab9f0 ...
Find elsewhere
🌐
vCluster
vcluster.com › blog › cursor-with-devpod
Using Cursor IDE with DevPod
October 23, 2024 - You just need to decide what should be your workspace source (a Git Repository, Local Folder or a container Image): ... A few quickstart samples are located on the right, which you can use or click on Open with DevPod as shown below: Then Select Cursor (assuming you already have the IDE installed) as your preferred IDE and click Create Workspace.
🌐
Visual Studio Code
code.visualstudio.com › docs › devcontainers › containers
Developing inside a Container
November 3, 2021 - The Visual Studio Code Dev Containers extension lets you use a container as a full-featured development environment. It allows you to open any folder inside (or mounted into) a container and take advantage of Visual Studio Code's full feature set.
🌐
Cursor
forum.cursor.com › support › bug reports
Is cursor going to keep breaking dev container on every single update?! - Bug Reports - Cursor - Community Forum
July 24, 2025 - Describe the Bug Every single time, every single time Cursor does an update the remote dev containers break. every time with different errors. It’s so damn frustrating. Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting “/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu/847c042b10537e0eed1ba8d50b55810202f9b34866514caad4...
🌐
Reddit
reddit.com › r/cursor › my setup for letting cursor's agent mode run without wrecking my environment
r/cursor on Reddit: My setup for letting Cursor's agent mode run without wrecking my environment
December 3, 2025 -

I've been using Cursor daily for a few months. Like most of you, I started cautiously, reviewing every change, approving every command, basically babysitting the agent.

Every time I tried letting it run more autonomously, I'd get nervous. What if it messes with the wrong files? What if I come back to a broken environment?

Why Cursor's built-in protections aren't enough

Cursor has some guardrails, but when you're building anything real, you need more than file-level protections. You need a full development environment.

If your feature needs Postgres, Redis, Kafka, webhook callbacks, OAuth flows, or any third-party integration, you end up working in your main dev environment. That's exactly where letting the agent loose gets scary.

What I needed was the opposite: not tighter guardrails, but a full isolated environment. Real containers. Real databases. Real network access. A place where the agent can run the whole stack and break things without consequences.

Isolated devcontainers

Each feature I work on gets its own devcontainer. Its own Docker container, its own database, its own network. If the agent breaks something, I throw away the container and start fresh.

Cursor supports devcontainers natively (it's VS Code under the hood), so this setup works out of the box.

Here's a complete example from a Twilio voice agent project I built.

.devcontainer/devcontainer.json:

json

{
  "name": "Twilio Voice Agent",
  "dockerComposeFile": "docker-compose.yml",
  "service": "app",
  "workspaceFolder": "/workspaces/twilio-voice-agent",

  "features": {
    "ghcr.io/devcontainers/features/git:1": {},
    "ghcr.io/devcontainers/features/node:1": {}
  },

  "customizations": {
    "vscode": {
      "extensions": [
        "dbaeumer.vscode-eslint",
        "esbenp.prettier-vscode"
      ]
    }
  },

  "postCreateCommand": "npm install",
  "forwardPorts": [3000, 5050],
  "remoteUser": "node"
}

.devcontainer/docker-compose.yml:

yaml

services:
  app:
    image: mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm
    volumes:
      - ..:/workspaces/twilio-voice-agent:cached
      - ~/.gitconfig:/home/node/.gitconfig:cached
    command: sleep infinity
    env_file:
      - ../.env
    networks:
      - devnet

  cloudflared:
    image: cloudflare/cloudflared:latest
    restart: unless-stopped
    env_file:
      - .cloudflared.env
    command: ["tunnel", "--no-autoupdate", "run", "--protocol", "http2"]
    depends_on:
      - app
    networks:
      - devnet

  postgres:
    image: postgres:16
    restart: unless-stopped
    environment:
      POSTGRES_USER: dev
      POSTGRES_PASSWORD: dev
      POSTGRES_DB: app_dev
    volumes:
      - postgres_data:/var/lib/postgresql/data
    networks:
      - devnet

  redis:
    image: redis:7-alpine
    restart: unless-stopped
    networks:
      - devnet

networks:
  devnet:
    driver: bridge

volumes:
  postgres_data:

A few things to note:

  • Cloudflared runs as a sidecar, exposing the environment via a tunnel. Webhooks and OAuth just work.

  • Postgres and Redis are isolated to this environment. The agent can drop tables, corrupt data, whatever. It doesn't touch anything else.

  • Each branch can get its own tunnel hostname so nothing collides.

Cloudflared routing

The tunnel can route different paths to different services or different ports on the same service. For this project, I had a web UI on port 3000 and a Twilio websocket endpoint on port 5050. Both needed to be publicly accessible.

In Cloudflare's dashboard, you configure the tunnel's public hostname routes:

Path Service 
/twilio/*
 
http://app:5050*
 
http://app:3000

The service names (app, postgres, redis) come from your compose file. Since everything is on the same Docker network (devnet), Cloudflared can reach any service by name.

So https://my-feature-branch.example.com/ hits the web UI, and https://my-feature-branch.example.com/twilio/websocket hits the Twilio handler. Same hostname, different ports, both publicly accessible. No port conflicts.

One gotcha: if you're building anything that needs to interact with ChatGPT (like exposing an MCP server), Cloudflare's Bot Fight Mode blocks it by default. You'll need to disable that in the Cloudflare dashboard under Security > Bots.

Secrets

For API keys and service tokens, I use a dedicated 1Password vault for AI work with credentials injected at runtime.

For destructive stuff (git push, deploy keys), I keep those behind SSH agent on my host with biometric auth. The agent can't push to main without my fingerprint.

The payoff

Now I can let Cursor's agent run on a task, walk away, and come back to either finished work or a broken container I can trash.

Agent mode only works when agent mode can't hurt you.

I packaged up the environment provisioning into BranchBox if you want a shortcut, but everything above works without it.

🌐
Cursor
forum.cursor.com › showcase › built for cursor
Script To Help You With Start Devcontainers - Built for Cursor - Cursor - Community Forum
June 8, 2025 - Hey all. I’ve seen a fair bit of trouble from folks trying to programmatically start dev-containers within Cursor (as it works slightly different from VsCode). By programatic I mean not using the command pallete. I analyzed the Cursor source code for the command they use to launch it to get the exact arguments needed and created this gist with a script for Typescript/Deno and Javascript/Node that does the trick.
🌐
Cursor
forum.cursor.com › support › bug reports
Dev Containers cannot connect to alpine container in cursor - Bug Reports - Cursor - Community Forum
February 10, 2025 - As far as I know, only alpine [2311 ms] Failed to download VS Code Server (https://cursor.blob.core.windows.net/remote-releases/5af2d34c39df93a39bd54c9b9103cab514b380f0/vscode-reh-linux-alpine.tar.gz): HTTP 404 - The spe…
🌐
Benjarvis
benjarvis.io › posts › cursor-arm-devcontainer
Fixing Cursor with ARM DevContainers | benjarvis.io
January 19, 2025 - Unfortunately, while Cursor supports Mac, and Cursor supports Apple Silicon, and Cursor supports devcontainers, it does not support ARM dev containers.
🌐
Cursor
cursor.com › home
Changelog - Jan 6, 2024 | Cursor - The AI Code Editor | Cursor - The AI Code Editor
Dev containers are now supported! This build also: Upgrades Cursor to VS Code 1.85, which comes with support for dragging out tabs into a new window. Improves the stability of WSL. <- Previous ·