mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
When the code attempts to set the ProcessLabel, it checks if SELinux Is enabled. We have seen a case with some of our patches where the code is fooled by the container to think that SELinux is not enabled. Calling label.Init before setting up the rest of the container, tells the library that SELinux is enabled and everything works fine. Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan) Upstream-commit: 2224e0d65adfbd08e53430a1d7c750491f788257 Component: engine