summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2024-05-11 20:10:25 +0200
committernicolargo <nicolashennion@gmail.com>2024-05-11 20:10:25 +0200
commit364a3ef88496f91a0e71c83b1a8fa50af2cf5b5b (patch)
treea85f9970d41ce76abdc17b57bec87ed211fc1328
parent35015f7c193285085153c4eb2c85ec664d23fcd1 (diff)
Correct README with a correct example regarding the docker + specific config file (revert) example is ok with -C option
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 2d8bc4b5..97778e0c 100644
--- a/README.rst
+++ b/README.rst
@@ -239,7 +239,7 @@ variable setting parameters for the glances startup command):
.. code-block:: console
- docker run -e TZ="${TZ}" -v $HOME/.config/glances/glances.conf:/root/.config/glances/glances.conf:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host -e GLANCES_OPT="-C /glances.conf" -it nicolargo/glances:latest-full
+ docker run -e TZ="${TZ}" -v $HOME/.config/glances/glances.conf:/glances.conf:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host -e GLANCES_OPT="-C /glances.conf" -it nicolargo/glances:latest-full
Where $HOME/.config/glances/glances.conf is a local directory containing your glances.conf file.