I am starting my glances container with this command:
docker run -d --restart="always" \
-p 61208-61209:61208-61209 \
-e GLANCES_OPT="-w" \
-v $(pwd)/glances.conf:/etc/glances/glances.conf \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
--pid host \
--hostname "glances_$(hostname)" \
--name glances \
docker.io/nicolargo/glances
However, the container doesn't use the configuration options contained in the glances.conf fiile:
~/containers/glances$ cat $(pwd)/glances.conf
[global]
# Does Glances should check if a newer version is available on PyPI ?
check_update=false
[outputs]
# Theme name for the Curses interface: black or white
curse_theme=white
[cpu]
disable=true
I am starting my glances container with this command:
However, the container doesn't use the configuration options contained in the glances.conf fiile: