mirror of
https://github.com/nicolargo/glances.git
synced 2024-08-16 16:00:27 +03:00
Correct README with a correct example regarding the docker + specific config file (revert) example is ok with -C option
This commit is contained in:
parent
35015f7c19
commit
364a3ef884
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user