mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
Add new field to libpod to indicate whether or not to use labelling
Also update some missing fields libpod.conf obtions in man pages. Fix sort order of security options and add a note about disabling labeling. When a process requests a new label. libpod needs to reserve all labels to make sure that their are no conflicts. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1406 Approved by: mheon
This commit is contained in:
committed by
Atomic Bot
parent
2cbb8c216a
commit
fbfcc7842e
@@ -317,7 +317,7 @@ func parseSecurityOpt(config *cc.CreateConfig, securityOpts []string) error {
|
||||
}
|
||||
}
|
||||
}
|
||||
config.ProcessLabel, config.MountLabel, err = label.InitLabels(labelOpts)
|
||||
config.LabelOpts = labelOpts
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user