summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-05-25 22:40:38 +0200
committernicolargo <nicolas@nicolargo.com>2022-05-25 22:40:38 +0200
commit472b1f8296600efa3954f2badcd2428f0366c194 (patch)
treee4370cc61cfc7136f69a1363d9d21861a291691f
parentc2a37fc72cd8223562f2e56680d60cbc0312f5ea (diff)
Update the documentation conerning the Docker Gances conf file
-rw-r--r--README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index d09f1bc2..241ea923 100644
--- a/README.rst
+++ b/README.rst
@@ -225,15 +225,15 @@ create your own Dockerfile:
.. code-block:: console
FROM nicolargo/glances:latest
- COPY glances.conf /glances/conf/glances.conf
- CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT
+ COPY glances.conf /etc/glances.conf
+ CMD python -m glances -C /etc/glances.conf $GLANCES_OPT
Alternatively, you can specify something along the same lines with
docker run options:
.. code-block:: console
- docker run -v `pwd`/glances.conf:/glances/conf/glances.conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it nicolargo/glances:latest-full
+ docker run -v `pwd`/glances.conf:/etc/glances.conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it nicolargo/glances:latest-full
Where \`pwd\`/glances.conf is a local directory containing your glances.conf file.