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
+1
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