forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Docker docs for Auditbeat (elastic#5619)
* Add Docker docs for Auditbeat Closes elastic#5132
- Loading branch information
1 parent
75ad4f6
commit 0d376ab
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
include::../../libbeat/docs/shared-docker.asciidoc[] | ||
|
||
[float] | ||
==== Special requirements | ||
|
||
Under Docker, {beatname_uc} runs as a non-root user, but requires some privileged | ||
capabilities to operate correctly. Ensure that the +AUDIT_CONTROL+ and +AUDIT_READ+ | ||
capabilities are available to the container. | ||
|
||
It is also essential to run {beatname_uc} in the host PID namespace. | ||
|
||
["source","sh",subs="attributes"] | ||
---- | ||
docker run --cap-add=AUDIT_CONTROL,AUDIT_READ --pid=host {dockerimage} | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters