Add support for Docker containers (retain task history) #1972
kverbyob
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request
Persist Roo data in a way that is compatible with how VS Code and Docker containers work.
Problem description
I use Docker devcontainers running on a remote host (e.g. AWS EC2), connected with VS Code via remote-ssh.
My task history is not retained: I can still see the summary in the recent tasks view, but when I try to open one, it gets removed.
Additional information
The developer console shows errors related to not finding files in
/home/user/.vscode-server
.This makes perfect sense because you're not supposed to reuse the hosts ~/.vscode-server folder insider the container as this can cause all kind of permission issues etc.
Workaround
If I bind mount the
~/.vscode-server
folder inside my devcontainer, then the history is preserved.Add this to devcontainer.json:
(!) This only works in specific use cases where the host and container environments are compatible.
Possible solution
VS Code actually tells me to point the extension developer to Persisting extension data or state for information on how to properly persist extension data.
Beta Was this translation helpful? Give feedback.
All reactions