Merge pull request #334 from rhatdan/selinux

Default type for containers is not container_t
This commit is contained in:
Antonio Murdaca 2017-01-25 22:46:04 +01:00 committed by GitHub
commit 60d148f94c
2 changed files with 8 additions and 2 deletions

View file

@ -66,8 +66,8 @@
"selinux_options": { "selinux_options": {
"user": "system_u", "user": "system_u",
"role": "system_r", "role": "system_r",
"type": "svirt_lxc_net_t", "type": "container_t",
"level": "s0:c4-c5" "level": "s0:c4,c5"
}, },
"user": { "user": {
"uid": 5, "uid": 5,

View file

@ -57,6 +57,12 @@
"host_pid": false, "host_pid": false,
"host_ipc": false "host_ipc": false
} }
},
"selinux_options": {
"user": "system_u",
"role": "system_r",
"type": "container_t",
"level": "s0:c1,c2"
} }
} }
} }