-
-
Notifications
You must be signed in to change notification settings - Fork 10
Can I connect as root? #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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"
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://containers.dev/implementors/json_reference/#remoteUser
The text was updated successfully, but these errors were encountered: