Replies: 2 comments
-
What I have got working as a workaround is to call the ULR and including a folder as a URL parameter - I would also like to understand if this can be done with a Docker RUN statement? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Les-Linux there's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I built an image of gitpod-io/openvscode-server which includes my dependencies. I mount local directory /tmp into the container which I can access. I am trying to figure out next, how to have vscode open the mounted directory as the default workspace on startup and have tried to pass varied parameters to the Docker Run command, but to no avail - example:
docker run -it --init -p 3000:3000 --mount "type=bind,src=/tmp,dst=/home/workspace" --env "-- workspace /home/workspace/" openvscode-server
How do I get openvscode-server to open a default workspace on startup, regardless of browser in use (i.e. without having to do this from within vscode)?
With best regards.
Les
Beta Was this translation helpful? Give feedback.
All reactions