From e7abdae24b5963e556aa5539aa45d0353b100ca2 Mon Sep 17 00:00:00 2001 From: Tania Allard Date: Thu, 3 Feb 2022 15:11:19 +0000 Subject: [PATCH] :pencil2: Make " consistent --- docs/using/troubleshooting.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/docs/using/troubleshooting.md b/docs/using/troubleshooting.md index d9bd2797..b7fd31be 100644 --- a/docs/using/troubleshooting.md +++ b/docs/using/troubleshooting.md @@ -93,7 +93,7 @@ The following sections cover a few of these scenarios and how to fix them. -p 8888:8888 \ -e NB_UID=1234 \ -e NB_GID=5678 \ - -v '$(PWD)'/test:/home/jovyan/work \ + -v "$(PWD)"/test:/home/jovyan/work \ jupyter/minimal-notebook:latest # you should see an output similar to this @@ -141,18 +141,17 @@ If you have also **created a new user**, you might be experiencing any of the fo -e CHOWN_HOME=yes \ -e CHOWN_HOME_OPTS="-R" \ -w "/home/${NB_USER}" \ - -v' $(PWD)'/test:/home/callisto/work \ + -v "$(PWD)"/test:/home/callisto/work \ jupyter/minimal-notebook - # expected output - Updated the jovyan user: - - username: jovyan -> callisto - - home dir: /home/jovyan -> /home/callisto - Update callisto UID:GID to 1234:1234 - Attempting to copy /home/jovyan to /home/callisto... - Success! - Ensuring /home/callisto is owned by 1234:1234 - Running as callisto: bash + # Updated the jovyan user: + # - username: jovyan -> callisto + # - home dir: /home/jovyan -> /home/callisto + # Update callisto UID:GID to 1234:1234 + # Attempting to copy /home/jovyan to /home/callisto... + # Success! + # Ensuring /home/callisto is owned by 1234:1234 + # Running as callisto: bash ``` where: @@ -185,7 +184,7 @@ If you have also **created a new user**, you might be experiencing any of the fo -e CHOWN_HOME=yes \ -e CHOWN_HOME_OPTS="-R" \ -w "/home/${NB_USER}" \ - -v $(PWD)/test:/home/callisto/work \ + -v "$(PWD)"/test:/home/callisto/work \ jupyter/minimal-notebook ``` @@ -198,7 +197,7 @@ If you have also **created a new user**, you might be experiencing any of the fo - Pass absolute paths to the `-v` flag: ```bash - -v '$(PWD)'/:/home/jovyan/work + -v "$(PWD)"/:/home/jovyan/work ``` This example uses the syntax `$(PWD)`, which is replaced with the full path to the current directory at runtime. The destination