-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can I connect as root? #3
Labels
question
Further information is requested
Comments
Yes. And R/Python/Julia packages are always installed within the users home directory. Footnotes
|
To connect as diff --git a/.devcontainer/r-base/devcontainer.json b/.devcontainer/r-base/devcontainer.json
index 7f81ce2..571b9e3 100644
--- a/.devcontainer/r-base/devcontainer.json
+++ b/.devcontainer/r-base/devcontainer.json
@@ -85,13 +85,13 @@
},
// Set 'remoteUser' to 'root' to connect as root instead.
- "remoteUser": "vscode",
- "workspaceMount": "source=r-base-home-vscode,target=/home/vscode,type=volume",
- // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/r-base-home-vscode,target=/home/vscode,type=bind",
- "workspaceFolder": "/home/vscode"
+ // "remoteUser": "vscode",
+ // "workspaceMount": "source=r-base-home-vscode,target=/home/vscode,type=volume",
+ // // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/r-base-home-vscode,target=/home/vscode,type=bind",
+ // "workspaceFolder": "/home/vscode"
- // "remoteUser": "root",
- // "workspaceMount": "source=r-base-root,target=/root,type=volume",
- // // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/r-base-root,target=/root,type=bind",
- // "workspaceFolder": "/root"
+ "remoteUser": "root",
+ "workspaceMount": "source=r-base-root,target=/root,type=volume",
+ // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/r-base-root,target=/root,type=bind",
+ "workspaceFolder": "/root"
} |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
https://containers.dev/implementors/json_reference/#remoteUser
The text was updated successfully, but these errors were encountered: