I've had success doing a docker run with the following command but the
docker compose is not working. It is related to security
This works
docker run -it \
-e JUPYTER_ENABLE_LAB=yes \
-p 8888:8888 \
-v /ABJ/notebook/:/home/jovyan/work \
-v /ABJ/results/:/home/jovyan/results \
jupyter/datascience-notebook \
start.sh jupyter lab --LabApp.token=''
This does not: I want to say that the --LabApp.token is the problem and if
I rmove the command: then it comes up fine but I need the token.
version: "3"
services:
notebook:
container_name: notebook
environment:
- JUPYTER_ENABLE_LAB=yes
command:
- start.sh jupyter lab --LabApp.token=``
entrypoint:
- tini
- -g
- --
image: jupyter/datascience-notebook
ports:
- 8889:8888
restart: always
volumes:
- /mount/notebook/:/home/jovyan/work
- /mount/results/:/home/jovyan/results
working_dir: /home/jovyan
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/cba91941-0e28-4c4c-bdc3-02b18a7f6072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.