Skip to content

Commit

Permalink
Fix read-only instructions for running Beats on Docker (#41120)
Browse files Browse the repository at this point in the history
* Fix read-only instructions for running Beats on Docker

* Fix up command
  • Loading branch information
kilfoyle authored Oct 7, 2024
1 parent 9b9d916 commit b7d7fec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libbeat/docs/shared-docker.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ For example:

["source", "sh", subs="attributes"]
--------------------------------------------
docker run \
--mount type=source=$(pwd}/data,destination=/usr/share/{beatname_lc}/data
--read-only
docker run --rm \
--mount type=bind,source=$(pwd)/data,destination=/usr/share/{beatname_lc}/data \
--read-only \
{dockerimage}
--------------------------------------------

Expand Down

0 comments on commit b7d7fec

Please sign in to comment.