Skip to content

glances.conf config file is not respected in web (-w) server mode #3260

@Tomipapa

Description

@Tomipapa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions