Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aagnone3/7ae3ca2d3d76cbdadbcea43d25edca81 to your computer and use it in GitHub Desktop.
Save aagnone3/7ae3ca2d3d76cbdadbcea43d25edca81 to your computer and use it in GitHub Desktop.
docker run \
--mount type=bind,source="$(pwd)",target=/opt \
--mount type=bind,source=${CORPORA_DIR},target=/corpora \
-p ${JUPYTER_PORT}:${JUPYTER_PORT} \
-ti \
--rm \
my_advanced_container \
jupyter-lab \
--allow-root \
--ip=0.0.0.0 \
--port=${JUPYTER_PORT} \
--no-browser \
2>&1 | tee log.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment