Repository navigation
Closed as not planned
Labels
ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorstale
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Win 10
- Continue version: 1.0.15
- IDE version: VS Code 1.101.2
- Model: doesn't matter
- config:
OR link to assistant in Continue hub:Description
Hi.
I added some rules and prompts to my project and all is working fine, as long as I don't open the project in a dev container. When I open the project in a dev container I get the following error for each prompt or rules file:
ENOENT: no such file or directory, open 'C:\Users\kai\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\dev- ..... workspaces/src/.continue/rules/pythonExpert.yaml
See log attachement for more
Is this a known issue?
BR
Kai
To reproduce
- Create a project
- Create a devcontainer.json
- Add a rule or prompt to the project
- Reopen the project in Dev container
Log output
ENOENT: no such file or directory, open 'C:\Users\kai\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\dev-container%2B7b22686f737450617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c737263222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c7372635c5c2e646576636f6e7461696e65725c5c646576636f6e7461696e65722e6a736f6e222c225f736570223a312c2265787465726e616c223a2266696c653a2f2f2f632533412f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f633a2f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d\workspaces\src\.continue\rules\pythonExpert.yaml'.
> vscode-remote://dev-container%2B7b22686f737450617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c737263222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c7372635c5c2e646576636f6e7461696e65725c5c646576636f6e7461696e65722e6a736f6e222c225f736570223a312c2265787465726e616c223a2266696c653a2f2f2f632533412f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f633a2f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d/workspaces/src/.continue/rules/pythonExpert.yamlReacted by benjamin-wright, Andry and SCP002
Metadata
Metadata
Assignees
Labels
ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorstale
Activity
aharonamir commentedon Jul 23, 2025
Have the same issue with new-doc.yaml:
"ENOENT: no such file or directory, open 'C:\Users\a00644753\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\attached-container%2B7b22636f6e7461696e65724e616d65223a222f616d69722d626c75655f646576227d@ssh-remote%2B10.74.98.35\root\blue.continue\docs\new-doc.yaml'."
When running inside a dev container in remote machine.
dannysemi commentedon Jul 27, 2025
Same with mcp server
ENOENT: no such file or directory, open 'C:\Users\redacted\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\dev-container%2B7b22686f737450617468223a22633a5c5c55736572735c5c6473656d615c5c446f63756d656e74735c5c70726f6a656374735c5c53696c6c7954617665726e5c5c72656163742d706978692d7465737473222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f633a2f55736572732f6473656d612f446f63756d656e74732f70726f6a656374732f53696c6c7954617665726e2f72656163742d706978692d74657374732f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d\workspaces\test\.continue\mcpServers\new-mcp-server.yaml'.dannysemi commentedon Jul 28, 2025
FWIW, I was able to get around this by adding
"remote.extensionKind": { "Continue.continue": "workspace" }, to my global vscode user settings.json.krsyoung commentedon Sep 22, 2025
I've bumped into the same (very similar?) issue but with VS Code DevContainers on Mac being unable to find
config.jsonvia my/Users/...path which isn't available in the container.The "workspace" configuration workaround from @dannysemi and a local
.continue/config.yamlallows my agent file (.continue/agents/agent.yamlto finally load). Same deal here: #6339However, I now think this workaround breaks my LAN-hosted ollama models as I now get
ETIMEDOUT. Makes sense as my devcontainer can't resolve or access the local network. Not sure how to fix this at the moment but a heads-up for anybody else who might be celebrating the files being resolved only to lose access to all models.UPDATE For the record I had overlapping subnets.
docker network prunedid the trick for me.SCP002 commentedon Nov 7, 2025
After that I had to add:
to my devcontainer volumes section in
docker-compose.ymlfor Continue to see models config.(to the /root/ probably because I has
"remoteUser": "root"indevcontainer.json)bchanez commentedon Dec 22, 2025
Hi,
I was able to get Continue working inside a DevContainer on Mac using the following setup:
DevContainer / Docker Compose
Continue project config (
.continue/agents/project-config.yml)VS Code settings
Notes
host.docker.internalallows the container to reach the Ollama instance running on the host machine.~/.continuefolder; Continue can read the project config directly from.continue/agents/in the workspace.With this setup, Continue can successfully load the
.continue/agents/project-config.ymland access the Ollama model from the container.gboeer commentedon Jan 28, 2026
Wow, this actually did solve it for me, thanks.
github-actions commentedon Apr 29, 2026
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
github-actions commentedon May 9, 2026
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!