Skip to content
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

running in docker: --disable-getting-started-override doesn't work #7215

Closed
1 of 2 tasks
magowiz opened this issue Feb 20, 2025 · 3 comments
Closed
1 of 2 tasks

running in docker: --disable-getting-started-override doesn't work #7215

magowiz opened this issue Feb 20, 2025 · 3 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@magowiz
Copy link

magowiz commented Feb 20, 2025

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: firefox
  • Local OS: windows 11
  • Remote OS: docker image codercom/code-server:latest
  • Remote Architecture: amd64
  • code-server --version:

Steps to Reproduce

  1. create a Dockerfile starting from codercom/code-server:latest
  2. create a custom entrypoint.sh and set it as docker image ENTRYPOINT
  3. create an entrypoint with last instruction: code-server --disable-telemetry --disable-workspace-trust --disable-getting-started-override --auth none --port 8080 my_folder
  4. if connecting with browser I still see getting started page

I tried also using suggested environment variables: export CS_DISABLE_GETTING_STARTED_OVERRIDE=true or CS_DISABLE_GETTING_STARTED_OVERRIDE=1

In attachment the screenshot of what I see once I connect with my browser

Image

is there any precedence or some options that conflict with it it?

Expected

In web browser I should not see getting started

Actual

Despite --disable-getting-started-override is specified, I get getting started screen.

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

This cannot be tested in native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

@magowiz magowiz added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Feb 20, 2025
@code-asher
Copy link
Member

Ah, this just disables our override (our override adds details about our coder/coder project), it does not disable the welcome page. You can use built-in VS Code settings for that. See the workbench.startupEditor setting.

https://code.visualstudio.com/updates/v1_57#_new-getting-started-experience

@code-asher code-asher closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2025
@magowiz
Copy link
Author

magowiz commented Feb 21, 2025

I see, thank you very much for the explanation and for pointing me to an alternative solution.

@c3danielxu
Copy link

I was running into the same thing and I also would like the VS Code to start up in dark mode. In both cases this would involve modifying the user settings.json file. Is it possible to have some sort of start-up script or flags to change this right before the first time code-server is launched?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants