diff options
author | Emilien Mottet <emilien.mottet@grenoble-inp.org> | 2018-11-27 23:06:03 +0100 |
---|---|---|
committer | Emilien Mottet <emilien.mottet@grenoble-inp.org> | 2018-11-27 23:09:39 +0100 |
commit | 71d210aef7da56412e5a0a370b289ef0dfea9345 (patch) | |
tree | 45df96504c124ff0196ae9fdb89fcaeca40d9216 /docs/docker.rst | |
parent | c3d6b1b10f2e43d59cd919be93b0ce9548b11ca5 (diff) |
`pwd`.conf instead of ./glances.conf
Diffstat (limited to 'docs/docker.rst')
-rw-r--r-- | docs/docker.rst | 4 |
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): |