Public | Automated Build

Last pushed: 3 days ago
Short Description
Glances on Ubuntu Server Linux
Full Description

Glances

Glances is a cross-platform monitoring tool which aims to present a maximum of information in a minimum of space through a curses or Web based interface. It can adapt dynamically the displayed information depending on the user interface size.

Link to Home Assistant: https://nicolargo.github.io/glances/<br />
Link to GitHub Repo: https://github.com/nicolargo/glances

Deployment

Use the following commands to deploy this image and replace the appropriate tags:

docker pull otmns/glances:latest
docker create --name glances -p {local UI port}:61208 -e TZ={linux time zone} -v {local config dir}:/config otmns/glances:latest

Options

  • {local UI port} - port in which you can access the Web UI of the container.
  • {linux time zone} - the time zone for the container such as America/Detroit or UTC.
  • {local config dir} - local directory that will hold the configs for the container that will keep after reboot of container.

Additional Information

This is an example scriptlet to redeploy a new copy of the container:

service docker-container@glances stop
docker rm glances -f
docker pull otmns/glances:latest
docker create --name glances -p 8123:8123 -e TZ=UTC -v /home/media/glances:/config otmns/glances:latest
service docker-container@glances start

To utilize the service commands seen above, use the following systemd file which should be found in /etc/systemd/system/docker-container@glances.service:

[Unit]
Description=Docker Container %I
Requires=docker.service
After=docker.service

[Service]
Restart=always
ExecStart=/usr/bin/docker start -a %i
ExecStop=/usr/bin/docker stop -t 2 %i

[Install]
WantedBy=default.target
Docker Pull Command
Owner
otmns
Source Repository