From 364a3ef88496f91a0e71c83b1a8fa50af2cf5b5b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 11 May 2024 20:10:25 +0200 Subject: [PATCH] Correct README with a correct example regarding the docker + specific config file (revert) example is ok with -C option --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2d8bc4b5..97778e0c 100644 --- a/README.rst +++ b/README.rst @@ -239,7 +239,7 @@ variable setting parameters for the glances startup command): .. code-block:: console - docker run -e TZ="${TZ}" -v $HOME/.config/glances/glances.conf:/root/.config/glances/glances.conf:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host -e GLANCES_OPT="-C /glances.conf" -it nicolargo/glances:latest-full + docker run -e TZ="${TZ}" -v $HOME/.config/glances/glances.conf:/glances.conf:ro -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host -e GLANCES_OPT="-C /glances.conf" -it nicolargo/glances:latest-full Where $HOME/.config/glances/glances.conf is a local directory containing your glances.conf file.