mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
selinux/overlay incompatible err
Signed-off-by: Sally O'Malley <somalley@redhat.com>
This commit is contained in:
parent
2434bd8e63
commit
04329e0b3e
1 changed files with 3 additions and 3 deletions
|
@ -236,9 +236,9 @@ func checkSystem() error {
|
||||||
func configureKernelSecuritySupport(config *Config, driverName string) error {
|
func configureKernelSecuritySupport(config *Config, driverName string) error {
|
||||||
if config.EnableSelinuxSupport {
|
if config.EnableSelinuxSupport {
|
||||||
if selinuxEnabled() {
|
if selinuxEnabled() {
|
||||||
// As Docker on btrfs and SELinux are incompatible at present, error on both being enabled
|
// As Docker on either btrfs or overlayFS and SELinux are incompatible at present, error on both being enabled
|
||||||
if driverName == "btrfs" {
|
if driverName == "btrfs" || driverName == "overlay" {
|
||||||
return fmt.Errorf("SELinux is not supported with the BTRFS graph driver")
|
return fmt.Errorf("SELinux is not supported with the %s graph driver", driverName)
|
||||||
}
|
}
|
||||||
logrus.Debug("SELinux enabled successfully")
|
logrus.Debug("SELinux enabled successfully")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue