app-emulation/docker: disable SELinux

We disable SELinux because Flatcar doesn't properly support it and it
was causing labeling problems when running runc containers with
NoNewPrivileges or seccomp.
This commit is contained in:
Iago Lopez Galeiras 2021-06-14 15:35:03 +02:00
parent 9b18f05723
commit 3f354a1114

View File

@ -8,7 +8,6 @@ Requires=containerd.service docker.socket
[Service]
Type=notify
EnvironmentFile=-/run/flannel/flannel_docker_opts.env
Environment=DOCKER_SELINUX=--selinux-enabled=true
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required