mirror of https://github.com/nicolargo/glances.git
Correct README with a correct example regarding the docker + specific config file
This commit is contained in:
parent
e7a3de5038
commit
35015f7c19
|
|
@ -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:/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:/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
|
||||
|
||||
Where $HOME/.config/glances/glances.conf is a local directory containing your glances.conf file.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue