Correction to User struct in specs-go/config.json

Signed-off-by: Abhijeeth Nuthan <abhijeeth.nuthan@oracle.com>
This commit is contained in:
Abhijeeth Nuthan 2016-06-09 11:42:30 -07:00
parent 2f0fa18f12
commit 2c41403b86
1 changed files with 4 additions and 4 deletions

View File

@ -53,15 +53,15 @@ type Process struct {
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
}
// User specifies Linux specific user and group information for the container's
// User specifies Linux/Solaris specific user and group information for the container's
// main process.
type User struct {
// UID is the user id. (this field is platform dependent)
UID uint32 `json:"uid" platform:"linux"`
UID uint32 `json:"uid" platform:"linux,solaris"`
// GID is the group id. (this field is platform dependent)
GID uint32 `json:"gid" platform:"linux"`
GID uint32 `json:"gid" platform:"linux,solaris"`
// AdditionalGids are additional group ids set for the container's process. (this field is platform dependent)
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux"`
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux,solaris"`
}
// Root contains information about the container's root filesystem on the host.