mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 15:08:33 +00:00
Allow uid, gid fields to be numeric or names
Previously I was forcing them to be strings, which is horrible. Now you can either specify a numeric uid or the name of a service to use the allocated id for that service. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -15,8 +15,8 @@ Each section adds file to the root file system. Sections may be omitted.
|
||||
|
||||
Each container that is specified is allocated a unique `uid` and `gid` that it may use if it
|
||||
wishes to run as an isolated user (or user namespace). Anywhere you specify a `uid` or `gid`
|
||||
field you specify a string that can either be the numeric id, or if you use a name it will
|
||||
refer to the id allocated to the container with that name.
|
||||
field you specify either the numeric id, or if you use a name it will refer to the id allocated
|
||||
to the container with that name.
|
||||
|
||||
```
|
||||
services:
|
||||
|
Reference in New Issue
Block a user