-
Notifications
You must be signed in to change notification settings - Fork 5.9k
How can we open default folder in VSCode while running in container #1503
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
Comments
I have the same issue, can't open project files |
You can pass it on the command line. For example something like:
Also check out https://github.com/cdr/code-server/blob/master/doc/FAQ.md#how-does-code-server-decide-what-workspace-or-folder-to-open |
" -v "$PWD:/home/coder/project" this argument is not working for me. |
That mounts your current directory into You might want to mount your project instead of just using the current directory, for example |
Sorry for posting in this closed issue but I have a question and don't want to open a new issue. Does anyone know if there is a way to open a workspace/folder from the terminal?? Reason is I have an init script which I run after upgrading versions which re-installs node & my local tools and I want that to also just open the project workspace too. |
Not yet but we want to add a way: #164 |
Er, that's assuming you want to open the folder/workspace in the existing code-server window. If that's not what you meant let me know. |
Oh that is exactly what I am asking. I did try search for similar issues but wasn't searching the right words. 👍 |
Starting code-server with the working directory as the last arguement, |
How can we open default folder in VSCode while running in container.
-v "$PWD:/home/coder/project" is not working how to give base-path @code-asher
The text was updated successfully, but these errors were encountered: