summaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorNicolas Hennion <nicolashennion@gmail.com>2018-12-08 22:12:03 +0100
committerGitHub <noreply@github.com>2018-12-08 22:12:03 +0100
commit0922d2430e2ebbdb42465d56ecdd0273e739f083 (patch)
tree0ebe965befbcab5a37d75c235c714a3d2ab3f7c8 /README.rst
parentbdefb8cbaf91e67165c67007029f602c71f83bbe (diff)
parent71d210aef7da56412e5a0a370b289ef0dfea9345 (diff)
Merge pull request #1357 from EmilienMottet/develop
`pwd`.conf instead of ./glances.conf for docker run command
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index bdbc2aca..10ce0916 100644
--- a/README.rst
+++ b/README.rst
@@ -192,9 +192,9 @@ docker run options:
.. 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):