mirror of https://github.com/docker/cli.git
Merge pull request #1900 from yuchengwu/8831-doc-user-restrict
note `--user` args usage restriction
This commit is contained in:
commit
f7c322edba
|
@ -1772,6 +1772,7 @@ the `USER` instruction by passing the `-u` option.
|
||||||
--user=[ user | user:group | uid | uid:gid | user:gid | uid:group ]
|
--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.
|
> **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
|
### WORKDIR
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue