summaryrefslogtreecommitdiffstats
path: root/docs/docker.rst
diff options
context:
space:
mode:
authorEmilien Mottet <emilien.mottet@grenoble-inp.org>2018-11-27 23:06:03 +0100
committerEmilien Mottet <emilien.mottet@grenoble-inp.org>2018-11-27 23:09:39 +0100
commit71d210aef7da56412e5a0a370b289ef0dfea9345 (patch)
tree45df96504c124ff0196ae9fdb89fcaeca40d9216 /docs/docker.rst
parentc3d6b1b10f2e43d59cd919be93b0ce9548b11ca5 (diff)
`pwd`.conf instead of ./glances.conf
Diffstat (limited to 'docs/docker.rst')
-rw-r--r--docs/docker.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docker.rst b/docs/docker.rst
index ee854c38..cc97f234 100644
--- a/docs/docker.rst
+++ b/docs/docker.rst
@@ -29,9 +29,9 @@ Alternatively, you can specify something along the same lines with docker run op
.. code-block:: console
- docker run -v ./glances.conf:/glances/conf/glances.conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
+ docker run -v `pwd`/glances.conf:/glances/conf/glances.conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
-Where ./glances.conf is a local directory containing your glances.conf file.
+Where \`pwd\`/glances.conf is a local directory containing your glances.conf file.
Run the container in *Web server mode* (notice the `GLANCES_OPT` environment variable setting parameters for the glances startup command):