-
Notifications
You must be signed in to change notification settings - Fork 307
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
cannot access Lab directly (ignoring Spawner.default_url) #125
Comments
I think you need c.DockerSpawner.default_url = '/lab' |
perhaps helpful... in
found that local users config was loaded.
now /lab works for me. |
@egorlitvinenko |
Thank you for your advice and test on your environment. I tried to delete /home/jovyan/.jupyter directory on the container Then I stopped this container and started it by jupyterhub. But /lab does not load directly from login screen. (I can use lab when I manually type lab's URL.) My logs on this container (debug mode, after delete /home/jovyan/.jupyter) is here.
|
perhaps use
|
@steverweber
|
@harapekoaomushi |
@Analect Now I checked this configuration can work. Good luck ! |
Thanks @harapekoaomushi . I'll try this. Have been trying to get the multi-user dockerized version (with user folders backed-up to docker volumes) working against the latest jupyterhub server release over here. |
For anyone working with jupyter notebook images in Docker, for example "jupyter/base-notebook" etc., you can modify the For example:
As @harapekoaomushi pointed out, setting |
Thank you @KimBenjaminTang. Is there a way to set this at runtime via the spawner? I need to add a username variable to that path.. |
I tried to test jupyterhub + dockerspawner with JupyterLab .
I can access Lab page if I type the URL (such that /user/%U/lab)
but I cannot access directly from Login Screen.
And I can access Lab directly when I don't use dockerspawner.
There are no logs to GET /lab or /user/%U/lab on the logs of jupyterhub and docker container.
I'm wondering if dockerspawner ignores or overwrites Spawner.default_url setting.
I use
jupyterhub 0.6.1 (installed by conda)
dockerspawner 0.5.0
The Dockerfile when I tried to build image is here.
And extract from my jupyterhub_config.py is here.
The text was updated successfully, but these errors were encountered: