Skip to content

Commit

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

* Fix up command

(cherry picked from commit b7d7fec)

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
Co-authored-by: Pierre HILBERT <pierre.hilbert@elastic.co>
  • Loading branch information
3 people authored Oct 8, 2024
1 parent 9be88c9 commit 7e45173
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 7e45173

Please sign in to comment.