mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
add fail2ban as example container for testing purposes
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -477,7 +477,9 @@ class DockerActionManager
|
||||
}
|
||||
|
||||
// Disable arp spoofing
|
||||
$requestBody['HostConfig']['CapDrop'] = ['NET_RAW'];
|
||||
if (!in_array('NET_RAW', $capAdds, true)) {
|
||||
$requestBody['HostConfig']['CapDrop'] = ['NET_RAW'];
|
||||
}
|
||||
|
||||
if ($container->isApparmorUnconfined()) {
|
||||
$requestBody['HostConfig']['SecurityOpt'] = ["apparmor:unconfined"];
|
||||
|
||||
Reference in New Issue
Block a user