Skip to content

Add JupyterHub singleuser support and VS Code proxy#56

Merged
saada merged 1 commit intojlee-dockerfrom
feat/jupyterhub-singleuser
Feb 25, 2026
Merged

Add JupyterHub singleuser support and VS Code proxy#56
saada merged 1 commit intojlee-dockerfrom
feat/jupyterhub-singleuser

Conversation

@saada
Copy link
Copy Markdown

@saada saada commented Feb 25, 2026

Summary

  • Add jupyterhub and jupyter-vscode-proxy packages to the Docker image
  • Add default CMD for jupyterhub-singleuser
  • Skipped jovyan user creation (KubeSpawner handles UID mapping)

Test plan

  • docker build . succeeds
  • docker run -p 8888:8888 starts JupyterLab with VS Code button
  • Verify image works as JupyterHub singleuser server

Install jupyterhub (for hub communication) and jupyter-vscode-proxy
(for browser-based VS Code via JupyterHub UI). Add default CMD for
jupyterhub-singleuser which KubeSpawner can override as needed.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 25, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/jupyterhub-singleuser

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@jlee733 jlee733 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see question regarding line 30 of the dockerfile

Comment thread dockerfile

# Install the local package in editable mode within the environment
RUN /usr/local/bin/micromamba run -n mdx2-dev pip install -e .
RUN /usr/local/bin/micromamba run -n mdx2-dev pip install --no-cache-dir jupyterhub jupyter-vscode-proxy
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this added as an alternative way to access Jupyter notebooks or as an alternative to how we currently access Jupyter notebooks (launch Jupyter Lab server and then paste the URL into VS Code or in your local browser)?

Copy link
Copy Markdown
Author

@saada saada Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's additive. Just gives you a VS Code option in the JupyterLab launcher. Everything else works the same as before.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Especially handy for upcoming workspace orchestration stuff

@saada saada merged commit f9cec2c into jlee-docker Feb 25, 2026
2 checks passed
@saada saada deleted the feat/jupyterhub-singleuser branch February 25, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants