Describe the Bug
I am developing inside Docker containers on a remote server using the anysphere.remote-containers
extension. When attempting to attach to a running container via the command Dev Containers: Attach to Running Container
, the operation fails with the following error:
Command 'Dev Containers: Attach to Running Container' resulted in an error
command 'remote-containers.attachToRunningContainer' not found
Environment Details:
-
Containers are confirmed operational (
docker ps
shows multiple running containers). -
Extension installed:
anysphere.remote-containers
-
Full list of installed extensions (as requested):
[{"identifier":{"id":"anysphere.remote-ssh","uuid":"73a45d83-83c7-4b22-bebf-c9130b0ab3f3"},"version":"1.0.23","location":{"$mid":1,"path":"/Users/sunzhenping/.cursor/extensions/anysphere.remote-ssh-1.0.23","scheme":"file"},"relativeLocation":"anysphere.remote-ssh-1.0.23","metadata":{"installedTimestamp":1754361047869,"pinned":false,"source":"gallery","id":"73a45d83-83c7-4b22-bebf-c9130b0ab3f3","publisherId":"c16ea17f-2629-4893-9064-35c0fd9add4c","publisherDisplayName":"Anysphere","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"anysphere.remote-wsl","uuid":"39a52826-2472-403d-8410-37905302f26a"},"version":"1.0.9","location":{"$mid":1,"path":"/Users/sunzhenping/.cursor/extensions/anysphere.remote-wsl-1.0.9","scheme":"file"},"relativeLocation":"anysphere.remote-wsl-1.0.9","metadata":{"installedTimestamp":1754361048303,"pinned":false,"source":"gallery","id":"39a52826-2472-403d-8410-37905302f26a","publisherId":"c16ea17f-2629-4893-9064-35c0fd9add4c","publisherDisplayName":"Anysphere","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"anysphere.remote-containers","uuid":"94d8b289-9db0-4c3c-b4f3-a3294c789678"},"version":"1.0.22","location":{"$mid":1,"path":"/Users/sunzhenping/.cursor/extensions/anysphere.remote-containers-1.0.22","scheme":"file"},"relativeLocation":"anysphere.remote-containers-1.0.22","metadata":{"installedTimestamp":1754361055815,"pinned":false,"source":"gallery","id":"94d8b289-9db0-4c3c-b4f3-a3294c789678","publisherId":"c16ea17f-2629-4893-9064-35c0fd9add4c","publisherDisplayName":"Anysphere","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"ms-python.python","uuid":"f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5"},"version":"2025.6.1","location":{"$mid":1,"path":"/Users/sunzhenping/.cursor/extensions/ms-python.python-2025.6.1-darwin-arm64","scheme":"file"},"relativeLocation":"ms-python.python-2025.6.1-darwin-arm64","metadata":{"installedTimestamp":1754361060863,"pinned":false,"source":"gallery","id":"f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"ms-python","targetPlatform":"darwin-arm64","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"ms-python.debugpy","uuid":"4bd5d2c9-9d65-401a-b0b2-7498d9f17615"},"version":"2025.6.0","location":{"$mid":1,"path":"/Users/sunzhenping/.cursor/extensions/ms-python.debugpy-2025.6.0-darwin-arm64","scheme":"file"},"relativeLocation":"ms-python.debugpy-2025.6.0-darwin-arm64","metadata":{"installedTimestamp":1754361060863,"pinned":false,"source":"gallery","id":"4bd5d2c9-9d65-401a-b0b2-7498d9f17615","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"ms-python","targetPlatform":"darwin-arm64","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"anysphere.cursorpyright"},"version":"1.0.8","location":{"$mid":1,"fsPath":"/Users/sunzhenping/.cursor/extensions/anysphere.cursorpyright-1.0.8","external":"file:///Users/sunzhenping/.cursor/extensions/anysphere.cursorpyright-1.0.8","path":"/Users/sunzhenping/.cursor/extensions/anysphere.cursorpyright-1.0.8","scheme":"file"},"relativeLocation":"anysphere.cursorpyright-1.0.8","metadata":{"installedTimestamp":1754361060863,"pinned":false,"source":"gallery","id":"d7f9f831-2239-4783-9d06-18d27f285818","publisherId":"c16ea17f-2629-4893-9064-35c0fd9add4c","publisherDisplayName":"Anysphere","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}}]
Troubleshooting Steps Performed:
- Uninstalled and reinstalled Cursor.
- Reinstalled the
anysphere.remote-containers
extension.
Result: Issue persists.
Extension Host Logs
2025-08-05 10:31:17.657 [info] ExtensionService#_doActivateExtension anysphere.remote-containers, startup: true, activationEvent: 'workspaceContains:.devcontainer/devcontainer.json,.devcontainer/**/devcontainer.json,.devcontainer.json'
2025-08-05 10:31:17.693 [error] Activating extension anysphere.remote-containers failed due to an error:
2025-08-05 10:31:17.693 [error] Error: Windows SSH hosts are not supported for intermediate resolvers (1)
at ti.resolveExecServer (/Users/sunzhenping/.cursor/extensions/anysphere.remote-ssh-1.0.23/dist/main.js:1:291491)
at UTe.getRemoteExecServer (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:136:18858)
at async /Users/sunzhenping/.cursor/extensions/anysphere.remote-containers-1.0.22/dist/main.js:2:680707
at async c (/Users/sunzhenping/.cursor/extensions/anysphere.remote-containers-1.0.22/dist/main.js:2:536712)
at async P (/Users/sunzhenping/.cursor/extensions/anysphere.remote-containers-1.0.22/dist/main.js:2:679814)
at async mrt.n (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:132:13591)
at async mrt.m (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:132:13554)
at async mrt.l (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:132:13010)
2025-08-05 10:31:17.693 [info] Eager extensions activated
2025-08-05 10:31:17.697 [info] ExtensionService#_doActivateExtension anysphere.cursor-always-local, startup: false, activationEvent: 'onStartupFinished'
2025-08-05 10:31:17.778 [info] ExtensionService#_doActivateExtension anysphere.cursor-deeplink, startup: false, activationEvent: 'onStartupFinished'
2025-08-05 10:31:17.801 [info] ExtensionService#_doActivateExtension anysphere.remote-wsl, startup: false, activationEvent: 'onStartupFinished'
Request:
Please investigate why the command remote-containers.attachToRunningContainer
is unavailable despite the extension being installed and containers running normally.
Steps to Reproduce
Uninstalled and reinstalled Cursor.
Reinstalled the anysphere.remote-containers extension.
Result: Issue persists.
Expected Behavior
I want to develop inside docker containers
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.3.9
VSCode Version: 1.99.3
Commit: 54c27320fab08c9f5dd5873f07fca101f7a3e070
Date: 2025-08-01T20:07:18.002Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
Yes - Cursor is unusable