-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
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"
} |
benz0li
changed the title
Can I connect as root?
[Data Science dev containers] Can I connect as root?
Jun 16, 2024
benz0li
changed the title
[Data Science dev containers] Can I connect as root?
Can I connect as root?
Jun 16, 2024
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: