Skip to content

Matt-Jns/falco-docker

Repository files navigation

falco-docker

Dockerfile source for Falco docker image.

Upstream

This source repo was originally copied from: https://github.com/falcosecurity/falco/tree/master/docker/falco

Disclaimer

This is not an official Google product.

About

This image contains an installation of Falco

For more information, see the Official Image Marketplace Page.

Prerequisites

Configure gcloud as a Docker credential helper:

gcloud auth configure-docker

Pull command

docker -- pull marketplace.gcr.io/google/falco

Dockerfile for this image can be found here.

Running Falco

To run Falco in a container using Docker use the following commands:

  • If you want to use Falco with the Kernel module driver:

    docker run --rm -i -t \
      --privileged \
      -v /var/run/docker.sock:/host/var/run/docker.sock \
      -v /dev:/host/dev \
      -v /proc:/host/proc:ro \
      -v /boot:/host/boot:ro \
      -v /lib/modules:/host/lib/modules:ro \
      -v /usr:/host/usr:ro \
      -v /etc:/host/etc:ro \
      marketplace.gcr.io/google/falco
  • Alternatively, you can use the eBPF probe driver:

    docker run --rm -i -t \
      --privileged \
      -e FALCO_BPF_PROBE="" \
      -v /var/run/docker.sock:/host/var/run/docker.sock \
      -v /proc:/host/proc:ro \
      -v /boot:/host/boot:ro \
      -v /lib/modules:/host/lib/modules:ro \
      -v /usr:/host/usr:ro \
      -v /etc:/host/etc:ro \
      marketplace.gcr.io/google/falco

NOTE: Depending on your Linux distribution, you may need to install the Linux Kernel headers package for your kernel version.

Debian GNU/Linux 11 (bullseye):

sudo apt install linux-headers-$(uname -r)

For more information on running Falco within Docker, see the official Falco documentation - Run within Docker.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published