DockerSelf-Hosting

Falco with Docker: Runtime Alerts When a Container Does Something Suspicious (Linux Host)

Before you start

  • 21 min read

Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#

Falco is a free, open-source runtime security tool: it watches what the programs on your Linux server really do (open files, start shells, make connections) and sends an alert when something matches a rule, for example "a terminal shell was opened inside a container" or "someone read /etc/shadow".

Falco official logo

Logo: the official Falco project (github.com/falcosecurity/falco, file brand/teal-logo.svg, Apache-2.0)

Falco tells you, it does not stop anything, so no container is ever killed by mistake. We run it in Docker, forward alerts through Falcosidekick to your phone (ntfy) and a web UI, write one rule of our own and cut the noise with one exception.

WhatValue (official sources, read 3 December 2026)
Current versionFalco 0.45.2, released 29 October 2026 (GitHub release). Falcosidekick 2.35.1 (26 October 2026). Falcosidekick UI 2.3.1 (16 June 2026)
Images to pinfalcosecurity/falco:0.45.2, falcosecurity/falcosidekick:2.35.1, falcosecurity/falcosidekick-ui:2.3.1, redis/redis-stack-server:7.2.0-v11 (tags checked on Docker Hub; the Falco image is about 41 MB compressed for amd64, and arm64 exists)
Time neededAbout 45 minutes (our estimate, not measured)
RAM and CPUNo official minimum; we measured none (see Performance)
PortsNone published for Falco. Falcosidekick listens on 2801 and the UI on 2802, both inside the Docker network only
LicenceApache License 2.0 (repository LICENSE). Falco is a CNCF graduated project (its README says so)
Official docsfalco.org/docs

At a glance:

  • What it is: one privileged container that reads kernel events with a probe built into Falco (the "modern eBPF" driver), plus the default rules.
  • Where alerts go: JSON to Falcosidekick, then ntfy (our ntfy guide) and the Falcosidekick UI.
  • Not a scanner: it does not look for holes in images. Our Trivy guide and Grype and Syft guide do that. It also is not a firewall or a blocker.
  • Linux only: see the next box.

Why a Linux host only, and what Windows and Mac readers do. Falco watches system calls of the Linux kernel that runs your containers. The official Docker quick start says it plainly: "the following will not work on Windows or macOS running Docker Desktop". Docker Desktop runs containers in a hidden Linux VM, so Falco would not see your Windows or Mac. Put Falco on a Linux server (an old PC, a mini PC, a VM, a 64-bit Raspberry Pi) and use PowerShell or Terminal only to reach it with ssh. The Windows and Mac parts below do exactly that.

How it fits together#

Containers make system calls, the Falco probe reports them from inside the kernel, Falco's rules decide which ones are suspicious, and Falcosidekick forwards each alert to ntfy and to the web UI.

Falco flow: your containers' system calls are read by the Falco container through a modern eBPF probe and its rules, the JSON alert goes to Falcosidekick, which pushes warnings and above to an ntfy server and your phone and sends every alert to the Falcosidekick UI backed by Redis, which you open in a browser, optionally through Traefik or Caddy over HTTPS

Drawn for this guide from the official docs. The dashed steps are optional: HTTPS in front of the web page.

A syscall is a request a program makes to the kernel (open a file, start a program). A rule is a condition, a text and a priority (emergency down to debug; warning and notice are common). A driver is how Falco reads syscalls: the default since 0.38 is modern_ebpf, built into Falco. The legacy ebpf driver was removed in 0.44.0, so old guides with engine.kind=ebpf no longer work.

Before you start#

Note: every domain, password, token and user name on this page is a dummy example (like change-me or ntfy.example.com). Replace it with your own and keep real secrets out of Git.

SystemWhat to have
Linux server (required)64-bit Linux (x86_64 or aarch64), Docker Engine and the Compose plugin, a kernel that offers the BPF ring buffer and BTF (usually 5.8 or newer; Step 1 checks it)
WindowsWindows 10 or later with PowerShell, which includes ssh. Docker Desktop is not used
MacTerminal, which includes ssh. Docker Desktop is not used

Check on the Linux server (Windows and Mac: connect first, Step 1):

Run in terminalbash
docker --version
docker compose version

Checklist:

  • [ ] Both commands print a version
  • [ ] You can log in to the Linux server (and use sudo)
  • [ ] An ntfy server and a topic exist (see our ntfy guide); an access token if it uses deny-all
  • [ ] For the HTTPS section only: a domain with DNS to the server and ports 80 and 443 open

Tested on 2026-12-03: nothing was run by DIY Lab Hub. Linux = commands from the official docs and source code at the release tags; Windows = ssh only; Mac = ssh only.

Tip: A kernel number alone proves nothing. A report on an enterprise 5.4 kernel failed with libpman: tracing program type is not supported although BTF existed (Falco issue 2792). Run the checks in Step 1 and read Falco's first log lines.

Step 1: Check that the kernel can run the probe#

The docs name two required features: the BPF ring buffer and a kernel that exposes BTF (type information in /sys/kernel/btf/vmlinux). Falco also checks this itself at start-up.

Linux#

Run in terminalbash
uname -r
ls -l /sys/kernel/btf/vmlinux
sudo bpftool feature probe kernel | grep -q "map_type ringbuf is available" && echo "ringbuf: true" || echo "ringbuf: false"
sudo bpftool feature probe kernel | grep -q "program_type tracing is available" && echo "tracing: true" || echo "tracing: false"

bpftool is optional (a package, named differently per distribution). The two grep lines are from the official kernel docs.

Windows (PowerShell)#

Run in terminalpowershell
ssh <your-user>@<your-server>

Then run the Linux commands above inside that session. <your-user>@<your-server> is a dummy; use your own login and server name or address.

Mac (Terminal)#

Same commands as Linux, after ssh <your-user>@<your-server>.

Check it worked. ls shows /sys/kernel/btf/vmlinux, and both probes print true. If the file is missing, this kernel is not a fit for modern_ebpf (see the kmod note in the FAQ).

Step 2: Create the folders and the secrets file#

Everything lives under ~/docker_volumes/falco. The ntfy address, token and UI login go into a .env file that Compose reads, so they stay out of compose.yaml.

Linux#

Run in terminalbash
mkdir -p ~/docker_volumes/falco/{data/redis,config,logs,backups}
cd ~/docker_volumes/falco
touch config/falco_rules.local.yaml
cat > .env << 'EOF'
# All values below are dummies - replace them with your own.
NTFY_WEBHOOK_URL=https://ntfy.example.com/falco-alerts?tpl=yes&t=%7B%7B.rule%7D%7D&m=%7B%7B.output%7D%7D
NTFY_TOKEN=<your-ntfy-token>
FALCO_UI_USER=falco-admin:change-me-to-a-long-password
EOF
chmod 600 .env

NTFY_WEBHOOK_URL is the ntfy address with a message template (%7B%7B.rule%7D%7D is {{.rule}}, the title; %7B%7B.output%7D%7D is {{.output}}, the message). FALCO_UI_USER must be login:password with one colon.

Windows (PowerShell)#

Connect with ssh <your-user>@<your-server> and run the Linux block on the server. The files must live on the Linux server, not on your PC.

Mac (Terminal)#

Same as Windows: connect with ssh <your-user>@<your-server>, then the Linux block.

Check it worked. ls -la ~/docker_volumes/falco shows .env, config, data and the other folders, and .env is -rw-------.

Tip: Give the UI password no colon and no $. The UI splits the value on : and, if the result is not exactly two parts, it silently falls back to admin:admin (we read this in main.go at tag v2.3.1). A password with a colon would leave your alert history open with the default login.

Step 3: Write the Compose file#

We translate the official docker run command to Compose and add Falcosidekick, the UI and Redis. The UI listens on the loopback address only for now; the HTTPS section replaces that.

Linux#

Run in terminalbash
cd ~/docker_volumes/falco
cat > compose.yaml << 'EOF'
services:
  falco:
    image: falcosecurity/falco:0.45.2
    container_name: falco
    privileged: true
    restart: unless-stopped
    command:
      - /usr/bin/falco
      - -o
      - engine.kind=modern_ebpf
      - -o
      - json_output=true
      - -o
      - json_include_output_property=true
      - -o
      - http_output.enabled=true
      - -o
      - http_output.url=http://falcosidekick:2801/
    volumes:
      - /sys/kernel/tracing:/sys/kernel/tracing:ro
      - /var/run/docker.sock:/host/var/run/docker.sock
      - /proc:/host/proc:ro
      - /etc:/host/etc:ro
      - ./config/falco_rules.local.yaml:/etc/falco/falco_rules.local.yaml:ro
    networks:
      - security
    depends_on:
      - falcosidekick

  falcosidekick:
    image: falcosecurity/falcosidekick:2.35.1
    container_name: falcosidekick
    restart: unless-stopped
    environment:
      - WEBUI_URL=http://falcosidekick-ui:2802
      - WEBHOOK_ADDRESS=${NTFY_WEBHOOK_URL:?set NTFY_WEBHOOK_URL in .env}
      - WEBHOOK_CUSTOMHEADERS=Authorization:Bearer ${NTFY_TOKEN}
      - WEBHOOK_MINIMUMPRIORITY=warning
    networks:
      - security
    depends_on:
      - falcosidekick-ui

  falcosidekick-ui:
    image: falcosecurity/falcosidekick-ui:2.3.1
    container_name: falcosidekick-ui
    restart: unless-stopped
    environment:
      - FALCOSIDEKICK_UI_REDIS_URL=redis:6379
      - FALCOSIDEKICK_UI_USER=${FALCO_UI_USER:?set FALCO_UI_USER in .env}
      - FALCOSIDEKICK_UI_TTL=7d
    ports:
      - "127.0.0.1:2802:2802"
    networks:
      - security
    depends_on:
      - redis

  redis:
    image: redis/redis-stack-server:7.2.0-v11
    container_name: falco-redis
    restart: unless-stopped
    volumes:
      - ./data/redis:/data
    networks:
      - security

networks:
  security:
EOF

Windows (PowerShell)#

On the server, through ssh <your-user>@<your-server>: run the Linux block. Docker Desktop on your PC is not used.

Mac (Terminal)#

Same as Windows: ssh to the server, then the Linux block.

LineWhy
privileged: true and the four mountsThe official "fully privileged" modern eBPF command. The tracefs mount is optional but recommended (it gives TOCTOU mitigation). On some hosts tracefs is /sys/kernel/debug/tracing; mount that path on the right-hand side /sys/kernel/tracing instead
command: [/usr/bin/falco, -o ...]The image has no entrypoint, only CMD ["/usr/bin/falco"], so we repeat the program name and add -o key=value settings. Falcosidekick needs json_output=true and http_output
WEBHOOK_*Falcosidekick's generic webhook output. WEBHOOK_MINIMUMPRIORITY=warning keeps lower alerts off your phone; the UI still gets them
FALCOSIDEKICK_UI_TTL=7dThe UI keeps alerts forever by default (TTL 0). We keep a week
redis-stack-server:7.2.0-v11The UI needs Redis with the RediSearch module. This is the tag the official Falco Helm chart pins; it is old (July 2024), and we did not test newer ones

Check it worked. From ~/docker_volumes/falco: docker compose config -q prints nothing. Do not paste docker compose config output anywhere: it shows your token.

Step 4: Add your first custom rule#

Falco loads /etc/falco/falco_rules.yaml (the default rules) first, then /etc/falco/falco_rules.local.yaml, which is where your own rules go. Our rule uses two macros from the default file (spawned_process, container), so it must come after it, and it does.

The idea: curl or wget started inside a running container is often a first step after a break-in, but health checks do it too. We cut that noise in Step 8.

Linux#

Run in terminalbash
cd ~/docker_volumes/falco
cat > config/falco_rules.local.yaml << 'EOF'
- rule: Download tool run in container
  desc: curl or wget started inside a container (a common first step after a break-in, but also used by health checks)
  condition: >
    spawned_process and container
    and proc.name in (curl, wget)
  output: >
    Download tool started in a container
    (container=%container.name image=%container.image.repository
    process=%proc.name command=%proc.cmdline user=%user.name)
  priority: WARNING
  tags: [homelab, container, network]
EOF
docker run --rm \
  -v ~/docker_volumes/falco/config/falco_rules.local.yaml:/etc/falco/falco_rules.local.yaml:ro \
  falcosecurity/falco:0.45.2 \
  /usr/bin/falco -V /etc/falco/falco_rules.yaml -V /etc/falco/falco_rules.local.yaml
echo "exit status: $?"

The -V flag reads the rules files, validates them and exits (it is in the official command-line reference).

Windows (PowerShell)#

ssh <your-user>@<your-server>, then the Linux block on the server.

Mac (Terminal)#

ssh <your-user>@<your-server>, then the Linux block on the server.

Check it worked. The exit status is 0. A typo gives an error naming the file and a non-zero status. We did not run this.

Tip: Give your rules new names. The official quick start saves a rule called Write below etc in the local file, which redefines the default rule of that name.

Step 5: Start Falco and read the first lines#

Linux#

Run in terminalbash
cd ~/docker_volumes/falco
docker compose up -d
docker compose ps
docker compose logs --tail=60 falco

Windows (PowerShell)#

Run the same three commands in your ssh session on the server.

Mac (Terminal)#

Same as Windows.

We did not run this. Lines of this shape appear in real Falco logs from the issue tracker (details differ): Falco version: 0.45.2 (x86_64), Loading rules from:, Opening 'syscall' source with modern BPF probe.

Check it worked. All four containers are running, and the Falco log shows the syscall source opened and no line starting with Error:. Falcosidekick's log shows the enabled outputs. The UI log may warn Index does not exist and Create Index on the first start: that is normal, the UI creates its search index.

Step 6: Trigger real alerts#

Test in a throw-away container. Reading /etc/shadow there reads the container's own copy, not your host's.

Linux#

Run in terminalbash
docker run --rm -it --name demo-shell alpine:3.20 sh
# inside the container:
cat /etc/shadow > /dev/null
exit

docker run --rm --name demo-download alpine:3.20 wget -q -O /dev/null http://example.com/

cd ~/docker_volumes/falco
docker compose logs --since 5m falco | grep -E "Terminal shell in container|Read sensitive file untrusted|Download tool run in container"

Windows (PowerShell)#

Run the same commands in your ssh session on the server. -it needs a real terminal, which ssh gives you.

Mac (Terminal)#

Same as Windows.

Check it worked. You see three JSON alerts with "rule" set to Terminal shell in container (priority Notice), Read sensitive file untrusted (Warning) and Download tool run in container (Warning). Your phone shows the two Warning alerts, titled with the rule name, and the UI (Step 7) shows all three. These names come from the bundled rules 5.2.0; we did not run the test.

Falco also alerts on the host (container_name=host). That is expected.

Tip: Terminal shell in container is an audit rule, not proof of an attack. The rule's own description says it is best used as a generic audit rule. That is why it is only a Notice and does not reach your phone.

Step 7: Phone alerts and the web page#

ntfy. Falcosidekick 2.35.1 has no native ntfy output in its docs (it has Gotify and a generic webhook), so we use the webhook. ntfy can fill title and message from a JSON body with a template (?tpl=yes&t=...&m=..., in the ntfy publishing docs); our .env URL does that. The token goes in an Authorization:Bearer header; the header value must not contain a second colon.

The web page. In a browser on your own PC, forward the UI port through ssh:

Linux#

Open http://127.0.0.1:2802 on the server itself, or from another PC:

Run in terminalbash
ssh -L 2802:127.0.0.1:2802 <your-user>@<your-server>

Then browse to http://127.0.0.1:2802 on that PC.

Windows (PowerShell)#

Run in terminalpowershell
ssh -L 2802:127.0.0.1:2802 <your-user>@<your-server>

Leave the window open and browse to http://127.0.0.1:2802.

Mac (Terminal)#

Same ssh -L command as Windows, then browse to http://127.0.0.1:2802.

Log in with the user and password from your .env.

Check it worked. The dashboard shows your three alerts from Step 6. The phone push arrived. If the phone is silent, run docker compose logs falcosidekick --tail=30: each output logs a line (the source logs POST OK (200) for a good delivery and an [ERROR] line with the output name for a failed one).

Tip: After every change to .env or compose.yaml run docker compose up -d again. Editing the file alone changes nothing in a running container.

Step 8: Cut the noise with an exception#

Say a container named healthy-web (a dummy name) runs wget as a health check and floods your phone. An exception is a list of value pairs that must not alert. The docs say to be specific; we use container name plus process name.

Linux#

Replace the rule in config/falco_rules.local.yaml with this complete version:

File contentyaml
- rule: Download tool run in container
  desc: curl or wget started inside a container (a common first step after a break-in, but also used by health checks)
  condition: >
    spawned_process and container
    and proc.name in (curl, wget)
  output: >
    Download tool started in a container
    (container=%container.name image=%container.image.repository
    process=%proc.name command=%proc.cmdline user=%user.name)
  priority: WARNING
  tags: [homelab, container, network]
  exceptions:
    - name: known_healthchecks
      fields: [container.name, proc.name]
      comps: [=, =]
      values:
        - [healthy-web, wget]

Validate it with the docker run ... -V command from Step 4, then restart Falco:

Run in terminalbash
cd ~/docker_volumes/falco
docker compose restart falco
docker run --rm --name healthy-web alpine:3.20 wget -q -O /dev/null http://example.com/
docker run --rm --name other-box alpine:3.20 wget -q -O /dev/null http://example.com/
docker compose logs --since 2m falco | grep "Download tool"

Windows (PowerShell)#

Do all of it in your ssh session on the server.

Mac (Terminal)#

Same as Windows.

Check it worked. Only the other-box run is reported; healthy-web is silent.

For a default rule, write a second block with its name and override: exceptions: append (the old append: true is deprecated). Some default rules offer a macro for this: Terminal shell in container has user_expected_terminal_shell_in_container_conditions, (never_true) by default:

File contentyaml
- macro: user_expected_terminal_shell_in_container_conditions
  condition: (container.name = my-debug-box)
  override:
    condition: replace

We took this from the overriding docs and the rules file 5.2.0 and did not run it.

Tip: Lowering a rule's priority does not turn it off: Falco still logs it and the UI shows it; only the warning limit keeps it off your phone.

Put it behind HTTPS (with or without Traefik)#

The UI sends your login on every request, so beyond a trusted LAN it needs HTTPS. This is for a server with a domain and ports 80 and 443; local-only users can keep the ssh -L tunnel. Both routes drop the host port and put the UI on a proxy network the proxy also joins.

Create the network once if it is missing:

Run in terminalbash
docker network create proxy

Change only the falcosidekick-ui service (and the networks: block at the bottom) in compose.yaml. falco.example.com is a dummy domain:

File contentyaml
  falcosidekick-ui:
    image: falcosecurity/falcosidekick-ui:2.3.1
    container_name: falcosidekick-ui
    restart: unless-stopped
    environment:
      - FALCOSIDEKICK_UI_REDIS_URL=redis:6379
      - FALCOSIDEKICK_UI_USER=${FALCO_UI_USER:?set FALCO_UI_USER in .env}
      - FALCOSIDEKICK_UI_TTL=7d
    networks:
      - security
      - proxy
    depends_on:
      - redis

and at the end of the file:

File contentyaml
networks:
  security:
  proxy:
    external: true

With Traefik#

On a server that already runs Traefik v3 with the Docker provider, add labels to the UI service. Our Traefik guide uses entrypoint https, network proxy and resolver le; use your own names if they differ.

File contentyaml
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=proxy"
      - "traefik.http.routers.falco-ui.rule=Host(`falco.example.com`)"
      - "traefik.http.routers.falco-ui.entrypoints=https"
      - "traefik.http.routers.falco-ui.tls=true"
      - "traefik.http.routers.falco-ui.tls.certresolver=le"
      - "traefik.http.services.falco-ui.loadbalancer.server.port=2802"

Run docker compose up -d. Check it worked. curl -I https://falco.example.com/ returns a status line over HTTPS.

Without Traefik: Caddy#

Choose this if you have no Traefik. Run Caddy on the same proxy network, publishing ports 80 and 443 (full walk-through: our Caddy guide). For a public domain Caddy gets Let's Encrypt certificates itself:

File contenttext
falco.example.com {
    reverse_proxy falcosidekick-ui:2802
}

For a home-only name use tls internal (Caddy's own certificate) and trust its root on each device (commands in the Caddy guide):

File contenttext
falco.home.arpa {
    tls internal
    reverse_proxy falcosidekick-ui:2802
}

Check it worked. curl -I https://falco.example.com/ returns a status line over HTTPS. With tls internal the browser shows a padlock only after you trust the root.

Security and testing#

ControlHow
Falco is privilegedprivileged: true is the first-success setting. The docs also give a least-privilege command (--cap-drop all plus sys_admin, sys_resource, sys_ptrace). Test it on your kernel first
Docker socketFalco reads container names through it. It is root-level power over the host, and :ro does not limit what a program may ask the Docker API. See our Docker socket proxy guide and test that Falco still shows container names
UI loginChange admin:admin (Step 2). The UI accepts event posts without a login: in the source, every POST skips the password check, so anyone who reaches the UI can send fake alerts. Keep it on a LAN or VPN, or restrict by address (Traefik ipallowlist middleware, Caddy remote_ip matcher; check the exact syntax in their docs)
Secrets.env with chmod 600, never in Git

Quick tests:

Run in terminalbash
cd ~/docker_volumes/falco
docker compose ps
docker compose logs --tail=50 falco
docker compose logs --tail=30 falcosidekick
curl -I https://falco.example.com/

Common mistakes#

MistakeWhy it happensDo this instead
Error: Initialization issues during scap_initThe probe could not load. Issue 4017 (closed): 0.45.0 on kernel 7.2.7 gave libpman: failed to load BPF object (errno: 13 | message: Permission denied), fixed in 0.45.1. Issue 3813 (closed): same final line on kernel 6.18Pin 0.45.2 or newer. Read the lines above the final error
libbpf: failed to find valid kernel BTFThe kernel has no usable BTF (issue 2357, closed)ls -l /sys/kernel/btf/vmlinux (Step 1). Choose a distribution kernel with BTF
libpman: tracing program type is not supportedJudging the kernel by its version number (issue 2792, closed)Probe the features (Step 1); upgrade the kernel
Error: pmu_fd: Operation not permittedDropping capabilities without testing (issue 2487, closed; a Kubernetes report on Falco 0.34)Start fully privileged, then follow the docs' least-privilege command and test it
[ERROR] : WebUI - Post "http://localhost:2802": dial tcp 127.0.0.1:2802: connect: connection refusedlocalhost inside Falcosidekick is Falcosidekick itself (Falcosidekick issue 274, closed)Use the service name: WEBUI_URL=http://falcosidekick-ui:2802 on a shared network
Disabling Read sensitive file untrusted after one odd alertA systemd helper caused false positives (issue 3480, closed; message Sensitive file opened for reading by non-trusted program)Update the rules (0.45.2 bundles 5.2.0), check the parent process, then add a narrow exception
container.name=<NA> after Docker or containerd restartsA single-file socket mount keeps the old socket (issue 3979, closed; reported on Kubernetes with containerd)We did not test this with Docker. If names turn to <NA> after a Docker restart, restart Falco: docker compose restart falco
UI shows only the default login after you set a passwordA password with a colon makes the UI fall back to admin:adminUse login:password with exactly one colon
Plain Redis for the UIThe UI needs the RediSearch module (README)Use redis/redis-stack-server
AI assistants: engine.kind=ebpf, falco-driver-loader, kernel headersOlder guides. Legacy eBPF was removed in 0.44.0; modern eBPF needs no loader, headers or DKMSUse modern_ebpf as in this guide
AI assistants: a NTFY_* setting or a native ntfy output in FalcosidekickInvented. We found none in the 2.35.1 docsUse the generic webhook with ?tpl=yes (Step 7)
AI assistants: falcosecurity/falco:latest, append: true, or the Falcosidekick 3.x README for the 2.x setuplatest moves; append: true is deprecated; 3.0.0-beta.1 (12 November 2026) has a different, integrated UI and settingsPin 0.45.2 and 2.35.1; use override:
AI assistants: ":ro makes the Docker socket read-only"Folk wisdomIt does not limit the API. Treat the socket as root access

Tip: Run -V (Step 4) before every restart after a rules edit. A broken rules file is the most common reason Falco will not start after you change something.

Troubleshooting#

ProblemSolution
Falco keeps restartingdocker compose logs --tail=100 falco; read the lines before the last Error: line
No alerts at allRe-run Step 6. Check that /proc and /etc are mounted under /host and that you started the container after the rules file existed
Alerts in the log but none on the phonedocker compose logs falcosidekick --tail=50. Check the topic, the token and that NTFY_WEBHOOK_URL is on one line
Phone gets raw JSONThe ?tpl=yes part was lost or cut by a shell. Keep the URL in .env
UI is emptyFalcosidekick log shows WebUI errors, or Redis is not the RediSearch image
Rules file rejecteddocker run ... -V ... (Step 4) names the line

Exact error texts#

  • Error: Initialization issues during scap_init: the probe did not load. See the first row of Common mistakes.
  • [libs]: libbpf: failed to determine tracepoint 'syscalls/sys_enter_*' perf event ID: No such file or directory (issue 3961, closed): on aarch64 the old creat/open system calls do not exist, and a commenter says the message is a harmless warning there. We did not verify that.

Known bugs#

Issue 3955 (closed 2026-09-11): Falco 0.44.x with modern eBPF restarting on Linux 7.0 with could not parse param 2 (name) ... of type 307 (openat); the maintainer says the fix is in 0.45.0-rc1 and later. We found no open bug that blocks a normal install of 0.45.2 on a mainstream kernel, but we only read titles beyond those listed here.

Updates and backups#

Update. Read the Falco release notes and the Falcosidekick release page; updating Falco does not update Falcosidekick. Change the tags, then:

Run in terminalbash
cd ~/docker_volumes/falco
docker compose pull
docker compose up -d
docker compose exec falco /usr/bin/falco --version

What to back up. .env, compose.yaml and config (your rules). Alert history in data is disposable.

Linux and Mac#

Save as ~/docker_volumes/falco/backup.sh on the server:

File contentbash
#!/usr/bin/env bash
set -euo pipefail
base="$HOME/docker_volumes/falco"
out="$base/backups/falco-$(date +%F).tar.gz"
tar -czf "$out" -C "$base" .env compose.yaml config
chmod 600 "$out"

Run chmod 700 on it and add this line with crontab -e on the server:

File contenttext
0 3 * * * /home/<your-user>/docker_volumes/falco/backup.sh

Windows (PowerShell)#

The backup runs on the Linux server with cron, as above. From Windows you can fetch the archive with scp <your-user>@<your-server>:docker_volumes/falco/backups/falco-<date>.tar.gz ..

Restore test#

Unpack the archive in a new folder on a spare machine, run docker compose up -d, then repeat Step 6. This is our reading, not a tested restore.

Performance and resources#

The docs give no minimum RAM or CPU and we measured none. Run docker stats for a few days. One documented figure: since 0.45 the modern eBPF probe sets aside two auxiliary segments of 128 KiB per possible CPU, including offline ones, which is 256 KiB per possible CPU, separate from the ring buffers. The ring buffer size and count are set with engine.modern_ebpf.buf_size_preset and engine.modern_ebpf.cpus_for_each_buffer. Redis grows with your alerts, hence the 7-day TTL.

FAQ#

Does Falco stop an attacker? No. It detects and alerts. It never blocks a shell or kills a container.

Can I use a package instead of Docker? Yes: DEB and RPM packages with a systemd service need no container mounts. Then Falcosidekick must be reachable from the host, so publish its port on the loopback address.

My kernel has no BTF. What now? Pick a kernel with BTF, or use the kmod driver, which needs a module installed on the host. We did not test kmod.

Can I run it on Docker Desktop or WSL2? Not as a goal of this guide. On Docker Desktop the monitored kernel is the VM's, not your PC's. Use a Linux server.

Why not Falcosidekick 3.x? 3.0.0-beta.1 (12 November 2026) is a beta with an integrated UI and different settings. We pinned the stable 2.35.1.

Sources#

Checked against the official docs on 2026-12-03. Nothing was run on a real machine by DIY Lab Hub; the commands come from the docs, the source code at the release tags and the issues above.

Try one of these