1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/runconfig
Dan Walsh 87e732a0f3 Add --security-opts options to allow user to customize security configuration
security-opts will allow you to customise the security subsystem.

For example the labeling system like SELinux will run on a container.

    --security-opt="label:user:USER"   : Set the label user for the container
    --security-opt="label:role:ROLE"   : Set the label role for the container
    --security-opt="label:type:TYPE"   : Set the label type for the container
    --security-opt="label:level:LEVEL" : Set the label level for the container
    --security-opt="label:disabled"    : Turn off label confinement for the container

Since we are passing a list of string options instead of a space separated
string of options, I will change function calls to use InitLabels instead of
GenLabels.  Genlabels interface is Depracated.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2014-09-30 00:06:22 +00:00
..
compare.go Move volumesfrom to hostconfig 2014-04-08 21:45:06 +00:00
config.go Add --security-opts options to allow user to customize security configuration 2014-09-30 00:06:22 +00:00
config_test.go Removed runconfig.ParseSubcommand 2014-09-17 14:38:22 -07:00
exec.go Address review comments. 2014-09-15 17:00:00 +00:00
hostconfig.go Merge pull request #8019 from thockin/add-host 2014-09-16 17:19:16 -07:00
merge.go Extract log utils into pkg/log 2014-08-13 15:18:15 -07:00
parse.go Add --security-opts options to allow user to customize security configuration 2014-09-30 00:06:22 +00:00
parse_test.go Removed runconfig.ParseSubcommand 2014-09-17 14:38:22 -07:00