diff --git a/run_jupyter.cmd b/run_jupyter.cmd index bb5ea0367e..01beb7195f 100644 --- a/run_jupyter.cmd +++ b/run_jupyter.cmd @@ -15,7 +15,7 @@ FOR /F "tokens=* USEBACKQ" %%a in (`"docker-machine ip default"`) DO SET JUP_IP= IF DEFINED DOCKER_TOOLBOX_INSTALL_PATH ( -docker run -it --rm -u 1000:1000 -v /c/Users/%username%/mlcourse.ai:/notebooks -w /notebooks -e HOME=/notebooks/home -p 4545:8888 %IMAGE% jupyter-notebook --NotebookApp.ip=0.0.0.0 --NotebookApp.password_required=False --NotebookApp.token='' --NotebookApp.custom_display_url=http://%JUP_IP%:4545 +docker run -it -d --name mlcourse_ai --rm -u 1000:1000 -v /c/Users/%username%/mlcourse.ai:/notebooks -w /notebooks -e HOME=/notebooks/home -p 4545:8888 %IMAGE% jupyter-notebook --NotebookApp.ip=0.0.0.0 --NotebookApp.password_required=False --NotebookApp.token='' --NotebookApp.custom_display_url=http://%JUP_IP%:4545 & explorer "http://%JUP_IP%:4545" & docker attach mlcourse_ai ) ELSE (