Skip to content

Commit

Permalink
IDMapping field for mount point
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
  • Loading branch information
AlexeyPerevalov committed Mar 23, 2022
1 parent 6969a0a commit 131dca8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ type Mount struct {
Source string `json:"source,omitempty"`
// Options are fstab style mount options.
Options []string `json:"options,omitempty"`

// UID/GID mappings used for changing file owners w/o calling chown, fs should support it
// every mount point could have its own mapping
IDMappings []LinuxIDMapping `json:"id_mappings,omitempty"`
}

// Hook specifies a command that is run at a particular event in the lifecycle of a container
Expand Down

0 comments on commit 131dca8

Please sign in to comment.