note `--user` args usage restriction

Signed-off-by: Yucheng Wu <wyc123wyc@gmail.com>
This commit is contained in:
Yucheng Wu 2019-05-22 14:30:23 +08:00 committed by Sebastiaan van Stijn
parent 8627a6df16
commit 5d04b1c49e
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
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