Merge pull request #1900 from yuchengwu/8831-doc-user-restrict

note `--user` args usage restriction
This commit is contained in:
Sebastiaan van Stijn 2023-01-17 23:03:07 +01:00 committed by GitHub
commit f7c322edba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1772,6 +1772,7 @@ the `USER` instruction by passing the `-u` option.
--user=[ user | user:group | uid | uid:gid | user:gid | uid:group ]
> **Note:** if you pass a numeric uid, it must be in the range of 0-2147483647.
> If you pass a username, the user must exist in the container.
### WORKDIR