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:
Daniel J Walsh
2018-09-18 09:06:40 -04:00
committed by Atomic Bot
parent 2cbb8c216a
commit fbfcc7842e
11 changed files with 84 additions and 25 deletions

View File

@@ -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
}