mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32:56 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
![66853113+pre-commit-ci[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Tania Allard

parent
c580924a67
commit
8371609cf8
@@ -106,7 +106,7 @@ The following sections cover a few of these scenarios and how to fix them.
|
|||||||
- `NB_IUD` and `NB_GID` should match the local user's UID and GID.
|
- `NB_IUD` and `NB_GID` should match the local user's UID and GID.
|
||||||
- You must use `--user root` to ensure that the `UID` and `GID` are updated at runtime.
|
- You must use `--user root` to ensure that the `UID` and `GID` are updated at runtime.
|
||||||
|
|
||||||
```{admonition} Additional notes
|
````{admonition} Additional notes
|
||||||
- The caveat with this approach is that since these changes are applied at runtime, you will need to re-run the same command
|
- The caveat with this approach is that since these changes are applied at runtime, you will need to re-run the same command
|
||||||
with the appropriate flags and environment variables if you need to recreate the container (i.e. after removing/destroying it).
|
with the appropriate flags and environment variables if you need to recreate the container (i.e. after removing/destroying it).
|
||||||
- If you pass a numeric UID, it must be in the range of 0-2147483647
|
- If you pass a numeric UID, it must be in the range of 0-2147483647
|
||||||
@@ -114,7 +114,7 @@ The following sections cover a few of these scenarios and how to fix them.
|
|||||||
```bash
|
```bash
|
||||||
$ id
|
$ id
|
||||||
uid=1234(jovyan) gid=1234(jovyan) groups=1234(jovyan),100(users)
|
uid=1234(jovyan) gid=1234(jovyan) groups=1234(jovyan),100(users)
|
||||||
```
|
````
|
||||||
|
|
||||||
## Permission issues after changing the UID/GIU and USER in the container
|
## Permission issues after changing the UID/GIU and USER in the container
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user