mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
@@ -86,7 +86,7 @@ The following sections cover a few of these scenarios and how to fix them.
|
||||
(including user ids) which may result in permissions errors when trying to access directories or create/modify files inside.
|
||||
|
||||
Suppose your local user has a `UID` and `GID` of `1234` and `5678`, respectively. To fix the UID discrepancies between your local directories and the container's
|
||||
directories, you can run the container with an explicit `NB_UID` and `NB_GID` to match the that of the local user:
|
||||
directories, you can run the container with an explicit `NB_UID` and `NB_GID` to match that of the local user:
|
||||
|
||||
```bash
|
||||
docker run -it --rm \
|
||||
@@ -202,7 +202,7 @@ If you have also **created a new user**, you might be experiencing any of the fo
|
||||
```
|
||||
|
||||
This example uses the syntax `$(PWD)`, which is replaced with the full path to the current directory at runtime. The destination
|
||||
path should also be an absolute path starting with a `/` such as `home/jovyan/work`.
|
||||
path should also be an absolute path starting with a `/` such as `/home/jovyan/work`.
|
||||
|
||||
- You might want to consider using the Docker native `--user <UID>` and `--group-add users` flags instead of `-e NB_UID` and `-e NB_GID`:
|
||||
|
||||
|
Reference in New Issue
Block a user