Skip to content

Commit

Permalink
don't mount ~/.jupyter as read-only
Browse files Browse the repository at this point in the history
to avoid permissions-related errors
  • Loading branch information
AdeelH committed Aug 9, 2023
1 parent d73d903 commit 13fc775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/run
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ do
;;
--jupyter-lab)
find_free_port_in_range 8888 9999
JUPYTER="-v ${RASTER_VISION_NOTEBOOK_DIR}:/opt/notebooks -v ${HOME}/.jupyter:/root/.jupyter:ro -p $FREE_PORT:$FREE_PORT"
JUPYTER="-v ${RASTER_VISION_NOTEBOOK_DIR}:/opt/notebooks -v ${HOME}/.jupyter:/root/.jupyter -p $FREE_PORT:$FREE_PORT"
# run jupyter lab in the background
CMD=(/bin/bash -c "jupyter lab --ip 0.0.0.0 --port $FREE_PORT --no-browser --allow-root --notebook-dir=/opt/notebooks & bash")
echo "Starting Jupyter Lab server at 0.0.0.0:$FREE_PORT. This may take a few seconds."
Expand Down

0 comments on commit 13fc775

Please sign in to comment.