Skip to content

Commit

Permalink
update(docs): explain how to use images with fully/least privileged
Browse files Browse the repository at this point in the history
co-authored-by: Lorenzo Fontana <[email protected]>
Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr and fntlnz committed May 18, 2020
1 parent 9654136 commit 824d757
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The Falco Project community only supports two ways for downloading and running F
Below you can find artifacts for both.


### Download for Linux
### Download for Linux {#packages}

| | development | stable |
|--------|-----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
Expand All @@ -26,7 +26,7 @@ The list of all available artifacts can be found [here](https://bintray.com/falc

---

### Download container images
### Download container images {#images}

{{< info >}}

Expand Down
22 changes: 22 additions & 0 deletions content/en/docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ falco --help

## Run within Docker {#docker}

Falco ships a set of official [docker images](/docs/download#images).
The images can be used in two ways as follows:
- [Least privileged](#docker-least-privileged)
- [Fully privileged](#docker-privileged)

### Least privileged {#docker-least-privileged}
This is how the Falco userspace process can be ran in a container.

Once the kernel module has been installed directly on the host system, it can be used from within a container.
Expand Down Expand Up @@ -67,6 +73,22 @@ Once the kernel module has been installed directly on the host system, it can be
falcosecurity/falco-no-driver:latest
```

### Fully privileged {#docker-privileged}

To run Falco in a container using Docker with full privileges:

```shell
docker pull falcosecurity/falco:latest
docker run --rm -i -t \
--privileged \
-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 \
falcosecurity/falco:latest
```

## Hot Reload

Expand Down

0 comments on commit 824d757

Please sign in to comment.