Describe the Bug
I am familiar with devcontainers in VSCode so I want to use them in cursor too. Unfortunately I cannot get cursor to recognise my devcontainer configuration.
Steps to Reproduce
I have manually added file ./.devcontainer/devcontainer.json to my repo. I have installed the dev containers extension (anysphere.remote-containers version 1.0.12).
Expected Behavior
I was expecting that cursor would recognise my devcontainer.json file and ask me if I wanted to open the repository in a devcontainer. This has not happened.
I clicked on the “Open a remote window” icon in the very bottom-left of the cursor window and I see the options that you can see in the “Screenshots / Screen recordings” below. I select “Open folder in Container” and it opens the Mac open dialog asking me to navigate to and choose a folder, this is not what I want. I want cursor to recognise my devcontainer.json and build a devcontainer from it.
Note that everything seems to work fine in VSCode. I opened the folder in VSCode and it immediately prompted me to ask if I wanted to open in a devcontainer. I chose yes, it built the devcontainer and its working.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue