Commit 15b9871d authored by Pengfei Ni's avatar Pengfei Ni

Allow remote runtimes to pass apparmor host validation

parent e633a160
...@@ -111,8 +111,8 @@ func validateHost(runtime string) error { ...@@ -111,8 +111,8 @@ func validateHost(runtime string) error {
} }
// Check runtime support. Currently only Docker is supported. // Check runtime support. Currently only Docker is supported.
if runtime != "docker" { if runtime != "docker" && runtime != "remote" {
return fmt.Errorf("AppArmor is only enabled for 'docker' runtime. Found: %q.", runtime) return fmt.Errorf("AppArmor is only enabled for 'docker' and 'remote' runtimes. Found: %q.", runtime)
} }
return nil return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment