mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-08 01:59:33 +00:00
fix(docker): fixed docker entrypoints for driver loading.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
ac61543276
commit
fc7a451aed
@@ -69,8 +69,11 @@ while test $# -gt 0; do
|
||||
print_usage
|
||||
exit 1
|
||||
else
|
||||
if [ "$1" != "auto" ]; then
|
||||
/usr/bin/falcoctl driver config --type $1
|
||||
if [ "$opt" != "auto" ]; then
|
||||
/usr/bin/falcoctl driver config --type $opt
|
||||
else
|
||||
# Needed because we need to configure Falco to start with correct driver
|
||||
/usr/bin/falcoctl driver config --type modern_ebpf --type ebpf --type kmod
|
||||
fi
|
||||
has_driver="true"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user