Add Docker container discovery with stats, image display, and CPU usage bars
This commit is contained in:
@@ -196,7 +196,7 @@ install_packages
|
||||
# Some sensor/DMI files need group access
|
||||
if [ "$OS" != "openwrt" ]; then
|
||||
# Add infmap to common hardware-access groups if they exist
|
||||
for group in i2c sensors; do
|
||||
for group in i2c sensors docker; do
|
||||
getent group "$group" &>/dev/null && usermod -aG "$group" "$USERNAME" 2>/dev/null || true
|
||||
done
|
||||
fi
|
||||
@@ -207,7 +207,7 @@ SUDOERS_FILE="/etc/sudoers.d/infmap"
|
||||
SUDO_CMDS=""
|
||||
|
||||
# Detect which hypervisor tools are present (check common sbin paths too)
|
||||
for cmd in pct qm lxc virsh; do
|
||||
for cmd in pct qm lxc virsh docker; do
|
||||
cmd_path=$(command -v "$cmd" 2>/dev/null)
|
||||
# Also check sbin paths not always in PATH
|
||||
if [ -z "$cmd_path" ]; then
|
||||
|
||||
Reference in New Issue
Block a user