You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
In the jupyter/docker-stacks repo it is mentioned (here) that Jupyter Notebook is deprecated. Wondering would it make sense to move change the README's jupyter notebook example to jupyter lab?
The ufoym/deepo:all-py36-cu111 image already has jupyterlab, but it looks like a lot of the others would need to have it added?
The existing command in the README seems to work fine if you just swap out jupyter notebook with jupyter lab. I've hackily added some stuff to add a user that matches the host username so that the files that jupyter lab creates are owned by my user instead of root:
docker run --rm --gpus all -it -p 8888:8888 -v /home/joe/jupyter:/home/$(whoami) --ipc=host ufoym/deepo:all-py36-cu111 sh -c "useradd -m -s /bin/bash $(whoami) && usermod -a -G sudo $(whoami) && su - $(whoami) -c \"jupyter lab --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token= --notebook-dir='/home/$(whoami)'\""
There's probably a much better way of doing that, but that's what I've hacked together just now with my limited docker/linux skills 😅 I did try something like:
Wondering would it make sense to move change the README's jupyter notebook example to jupyter lab?
Great idea!
I've hackily added some stuff to add a user that matches the host username so that the files that jupyter lab creates are owned by my user instead of root:
Good idea as well for your scenario. However, we are not sure if it is suitable for general usage.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the jupyter/docker-stacks repo it is mentioned (here) that Jupyter Notebook is deprecated. Wondering would it make sense to move change the README's
jupyter notebook
example tojupyter lab
?The
ufoym/deepo:all-py36-cu111
image already has jupyterlab, but it looks like a lot of the others would need to have it added?The existing command in the README seems to work fine if you just swap out
jupyter notebook
withjupyter lab
. I've hackily added some stuff to add a user that matches the host username so that the files that jupyter lab creates are owned by my user instead of root:There's probably a much better way of doing that, but that's what I've hacked together just now with my limited docker/linux skills 😅 I did try something like:
But I got
[Errno 13] Permission denied: '/.local'
and didn't investigate too much further.The text was updated successfully, but these errors were encountered: