mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 10:31:37 +02:00
containerd: Enable SELinux labeling support by default
This enables containerd to do appropriate SELinux labeling of containers and files by default. This should not be problematic as Flatcar ships with SELinux permissive by default. Signed-off-by: Juan Antonio Osorio <juan.osoriorobles@eu.equinix.com>
This commit is contained in:
parent
8e906f9ddb
commit
333c985cad
@ -27,6 +27,10 @@ runtime = "runc"
|
||||
# live restore is not supported
|
||||
no_shim = false
|
||||
|
||||
[plugins."io.containerd.grpc.v1.cri"]
|
||||
# enable SELinux labeling
|
||||
enable_selinux = true
|
||||
|
||||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
|
||||
# setting runc.options unsets parent settings
|
||||
runtime_type = "io.containerd.runc.v2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user