update start jupyter script

This commit is contained in:
Dat Tran 2024-04-03 14:23:28 +02:00
parent 1a1390e587
commit d7bd72237f
2 changed files with 3 additions and 3 deletions

View File

@ -13,11 +13,11 @@ docker run -it -d ^
-e JUPYTER_TOKEN=mytoken ^ -e JUPYTER_TOKEN=mytoken ^
-w "/home/%username%" ^ -w "/home/%username%" ^
-v "%cd%":"/home/%username%/work" ^ -v "%cd%":"/home/%username%/work" ^
jupyter/base-notebook voicecraft
if %errorlevel% == 0 ( if %errorlevel% == 0 (
echo Jupyter container created and running. echo Jupyter container created and running.
echo Jupyter container is running. echo Jupyter container is running.
echo To access the Jupyter web UI, please follow these steps: echo To access the Jupyter web UI, please follow these steps:
echo 1. Open your web browser echo 1. Open your web browser

View File

@ -15,7 +15,7 @@ docker run -it \
-e GRANT_SUDO=yes \ -e GRANT_SUDO=yes \
-w "/home/${NB_USER}" \ -w "/home/${NB_USER}" \
-v "$PWD":"/home/$USER/work" \ -v "$PWD":"/home/$USER/work" \
jupyter/base-notebook voicecraft
## `docker logs jupyter` to get the URL link and token e.g. ## `docker logs jupyter` to get the URL link and token e.g.
## http://127.0.0.1:8888/lab?token=blahblahblahblabhlaabhalbhalbhal ## http://127.0.0.1:8888/lab?token=blahblahblahblabhlaabhalbhalbhal