mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 21:42:57 +00:00
fixing formatting
This commit is contained in:
@@ -30,8 +30,12 @@ arguments to the `docker run` command.
|
||||
default user and ensures that the desired user has the correct file permissions for the new home directory that gets created at
|
||||
`/home/<username>`. For this option to take effect you must run the container with `--user root`, set the working directory `-w /home/${NB_USER}`
|
||||
and set the environment variable `-e CHOWN_HOME=yes`.
|
||||
|
||||
Example Usage:
|
||||
`docker run --rm -it -p 8888:8888 -e NB_USER="my-username" -e CHOWN_HOME=yes -w /home/${NB_USER} --user root jupyter/base-notebook:latest`
|
||||
|
||||
```bash
|
||||
docker run --rm -it -p 8888:8888 -e NB_USER="my-username" -e CHOWN_HOME=yes -w /home/${NB_USER} --user root jupyter/base-notebook:latest
|
||||
```
|
||||
|
||||
- `-e NB_UID=1000` - Instructs the startup script to switch the numeric user ID of `${NB_USER}` to the given value. Default value is `1000`.
|
||||
This feature is useful when mounting host volumes with specific owner permissions. For this option to take effect, you must run the container
|
||||
|
Reference in New Issue
Block a user