From 71d210aef7da56412e5a0a370b289ef0dfea9345 Mon Sep 17 00:00:00 2001 From: Emilien Mottet Date: Tue, 27 Nov 2018 23:06:03 +0100 Subject: [PATCH] `pwd`.conf instead of ./glances.conf --- README.rst | 4 ++-- docs/docker.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index b78b61d8..aa6d6352 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): 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):