commit:     d17d772d609dae85a7cc72aafa30dcd182d57ef9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 25 19:16:50 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 25 19:56:26 2025 +0000
URL:        https://gitweb.gentoo.org/proj/steve.git/commit/?id=d17d772d

README: explain how to use with docker

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 README.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/README.rst b/README.rst
index 5a1d8c6..8b9ec46 100644
--- a/README.rst
+++ b/README.rst
@@ -84,3 +84,11 @@ Then adding::
 
     [Service]
     DeviceAllow=/dev/steve rw
+
+
+Docker invocation
+-----------------
+To run a container and make the device available inside the container,
+add the device mapping when invoking Docker. For example::
+
+    $ docker run ... --device /dev/steve:/dev/steve:rw <image> ...

Reply via email to