Remote-SSH + Dev Containers extensions on the Mac

Describe the Bug

Anyshere’s Remote-SSH and Dev Containers do not seem to work together. However, Microsoft’s versions seem to work.

Steps to Reproduce

On my Mac, I used Anyshere’s Remote-SSH to ssh into my Linux. Afterwards, I selected Dev Containers: Open Folder in Container. However, it kept calling “docker info” on my Mac instead of the Linux.

Expected Behavior

This should use Remote-SSH to connect to the Linux’s Dev Container.

Screenshots / Screen Recordings

Operating System

MacOS
Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.0.0 (Universal)
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:39.410Z (1 wk ago)
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

Additional Information

Microsoft’s versions seem to work, but I can’t use them because I’m a new user.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

1 Like

Hi @keivenchang,

Thank you for your question. We do support connecting to Docker over SSH. We will log if Docker is not found locally, but that shouldn’t affect connecting to a container over SSH.

If you have a devcontainer.json file in you repo, you can attach via the command palette – cmd-shift-p, then “Dev Containers: Reopen in Container”.

Or, if you have a standalone container to attach to, then use the “Attach to Running Container” command.

Both of these will run on the SSH host rather than your local computer.

Thank you Ravi for the quick response, really appreciate it. I am able to start the container manually, and then “Attach to Running Container”.

However, I was told by the author of our ai-dynamo/dynamo/.devcontainer/devcontainer.json to make sure to “Open Folder in Container” instead of “Attach to Running Container” because DevContainer does a bunch of stuff when setting it up thats not happening when I just run it manually.

Would you know why “Open Folder in Container” does not work? Here are more screenshots, if it helps.


Hi @keivenchang, could you try first opening the folder on the SSH host, and then use the “Reopen in Container” command? The reopen command works over SSH and will prompt you to select a devcontainer.json file.

We are working on an update to make the “Open Folder in Container” work when connected over SSH.