Skip to content

Commit

Permalink
Merge pull request docker#1900 from yuchengwu/8831-doc-user-restrict
Browse files Browse the repository at this point in the history
note `--user` args usage restriction
  • Loading branch information
thaJeztah authored Jan 17, 2023
2 parents 8627a6d + 5d04b1c commit f7c322e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f7c322e

Please sign in to comment.