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 the host and was working earlier in the day, the “Containers” view and related commands often become unavailable without any configuration changes.

Steps to Reproduce

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.

Expected Behavior

Open a workspace with a .devcontainer configuration (Docker Compose based).
Use “Reopen in Container” to start the session.
Once inside the container (verified by /.dockerenv existence and /root/.cursor-server path), observe that the Dev Containers icon is missing from the sidebar.
Search for @ext:anysphere.remote-containers in the Extensions view; it shows as installed locally but does not appear to be active or providing UI elements in the remote context.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

For AI issues: which model did you use?

N/A

Additional Information

Confirmed docker.sock is correctly linked inside the container (/var/run/docker.sock → /var/run/docker-host.sock).

Verified Docker CLI is available inside the container.

Updated devcontainer.json to include the docker-outside-of-docker feature (Package features/docker-outside-of-docker · GitHub).

Attempted to toggle between “Local” and “Dev Container” extension scopes; the extension is only visible in the “Local” list.

Rebuilt for other local projects that had the extention working, after rebuild, the UI extention didn’t display anymore.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Additional Details:

Environment Status (Verified Healthy):

  • Docker Sync: Both Host (Mac) and Container (Linux) are perfectly synced at Docker 29.1.3 (API 1.52).

  • Extension Health: anysphere.remote-containers (v1.0.29) is active. Logs confirm outcome: success for container c2c566f96020.

  • Network: Port 3002 is successfully forwarded and reachable.

The Breaking Bug (Cursor Internal):

  1. Auth Bridge Failure: Console reports ConnectError: [unauthenticated] when calling vmo.loadTeamCommands. This persists even after logging out and back in on the local Mac client. This appears to be blocking the Anysphere-specific UI components (AI buttons, Team menus) from initializing.

  2. UI Rendering Glitch: The dedicated “Box” icon for Dev Containers has completely disappeared from the Activity Bar. It cannot be recovered via “Reset View Locations” or manual drags.

  3. ExtensionKind Override ignored: Setting “remote.extensionKind”: { “anysphere.remote-containers”: [“ui”] } in settings.json does not force the UI to reappear, despite the extension logic being active in the background.

Conclusion for Devs:

The infrastructure is 100% correct. This is a regression in how the Remote Extension Host handles proprietary Anysphere authentication tokens and UI element registration. The extension is “alive” but “invisible.”

Hey @pradelgorithm!

On v2.3 (rolling out to users now, available via Early Access under Cursor Settings > Beta > Update Track), I think I’m seeing all the UI elements I’m supposed to while in a Dev Container. Can you let me know if there’s something else I should be seeing?

@Colin This is odd. I might not be talking specifically about the dev containers in your screenshot—that particular extension has always been available to me. I’m talking about one that only runs when you open a dev container; it shows the container running, but it doesn’t run if you aren’t running “Package features/docker-outside-of-docker · GitHub” I don’t have a screenshot right now since the UI isn’t showing for any of my dev containers, but I’ll try to find one.

Seems that the extension is back in the latest update

I wqas talking about this one

Hey @pradelgorithm!

Thanks for following up! Just to be sure I understand – everything is working well for you now?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.