Skip to content

Commit

Permalink
Update enforcement.md
Browse files Browse the repository at this point in the history
Docker example with enforcement was fetching the yaml policy without enforcement, that's fixed with this cange.

Signed-off-by: Ramsés Rodríguez Martínez <91434530+next-ramses@users.noreply.github.com>
  • Loading branch information
next-ramses authored Feb 11, 2024
1 parent 4a27e0a commit ec2154a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/en/docs/getting-started/enforcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ kubectl delete -f https://raw.githubusercontent.com/cilium/tetragon/main/example
kubectl apply -f https://raw.githubusercontent.com/cilium/tetragon/main/examples/quickstart/file_monitoring_enforce.yaml
{{< /tab >}}
{{< tab Docker >}}
wget https://raw.githubusercontent.com/cilium/tetragon/main/examples/quickstart/file_monitoring.yaml
wget https://raw.githubusercontent.com/cilium/tetragon/main/examples/quickstart/file_monitoring_enforce.yaml
docker stop tetragon-container
docker run --name tetragon-container --rm --pull always \
--pid=host --cgroupns=host --privileged \
-v ${PWD}/file_monitoring.yaml:/etc/tetragon/tetragon.tp.d/file_monitoring_enforce.yaml \
-v ${PWD}/file_monitoring_enforce.yaml:/etc/tetragon/tetragon.tp.d/file_monitoring_enforce.yaml \
-v /sys/kernel/btf/vmlinux:/var/lib/tetragon/btf \
quay.io/cilium/tetragon-ci:latest
{{< /tab >}}
Expand Down

0 comments on commit ec2154a

Please sign in to comment.