mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Functionality changes to the following flags
--group-add --blkio-weight-device --device-read-bps --device-write-bps --device-read-iops --device-write-iops --group-add now supports group names as well as the gid associated with them. All the --device flags work now with moderate changes to the code to support both bps and iops. Added tests for all the flags. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #590 Approved by: mheon
This commit is contained in:
@ -201,6 +201,8 @@ type ContainerConfig struct {
|
||||
// User and group to use in the container
|
||||
// Can be specified by name or UID/GID
|
||||
User string `json:"user,omitempty"`
|
||||
// Additional groups to add
|
||||
Groups []string `json:"groups, omitempty"`
|
||||
|
||||
// Namespace Config
|
||||
// IDs of container to share namespaces with
|
||||
|
Reference in New Issue
Block a user