Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
feat(agent): add --docker-runtime flag for podman/docker selection
rcourtman94717ba867c7
diff --git a/cmd/pulse-agent/main.go b/cmd/pulse-agent/main.goindex 10e7ee4942..a2f8463ccd 100644--- a/cmd/pulse-agent/main.go+++ b/cmd/pulse-agent/main.go@@ -184,6 +184,7 @@ func main() {InsecureSkipVerify: cfg.InsecureSkipVerify,DisableAutoUpdate: cfg.DisableAutoUpdate,DisableUpdateChecks: cfg.DisableDockerUpdateChecks,+ Runtime: cfg.DockerRuntime,LogLevel: cfg.LogLevel,Logger: &logger,SwarmScope: "node",@@ -356,7 +357,8 @@ type Config struct {// Auto-updateDisableAutoUpdate bool- DisableDockerUpdateChecks bool // Disable Docker image update detection+ DisableDockerUpdateChecks bool // Disable Docker image update detection+ DockerRuntime string // Force container runtime: docker, podman, or auto// SecurityEnableCommands bool // Enable command execution for AI auto-fix (disabled by default)@@ -398,6 +400,7 @@ func loadConfig() Config {envProxmoxType := utils.GetenvTrim("PULSE_PROXMOX_TYPE")envDisableAutoUpdate := utils.GetenvTrim("PULSE_DISABLE_AUTO_UPDATE")envDisableDockerUpdateChecks := utils.GetenvTrim("PULSE_DISABLE_DOCKER_UPDATE_CHECKS")+ envDockerRuntime := utils.GetenvTrim("PULSE_DOCKER_RUNTIME")envEnableCommands := utils.GetenvTrim("PULSE_ENABLE_COMMANDS")envDisableCommands := utils.GetenvTrim("PULSE_DISABLE_COMMANDS") // deprecatedenvHealthAddr := utils.GetenvTrim("PULSE_HEALTH_ADDR")@@ -461,6 +464,7 @@ func loadConfig() Config {proxmoxTypeFlag := flag.String("proxmox-type", envProxmoxType, "Proxmox type: pve or pbs (auto-detected if not specified)")disableAutoUpdateFlag := flag.Bool("disable-auto-update", utils.ParseBool(envDisableAutoUpdate), "Disable automatic updates")disableDockerUpdateChecksFlag := flag.Bool("disable-docker-update-checks", utils.ParseBool(envDisableDockerUpdateChecks), "Disable Docker image update detection (avoids Docker Hub rate limits)")+ dockerRuntimeFlag := flag.String("docker-runtime", envDockerRuntime, "Container runtime: auto, docker, or podman (default: auto)")enableCommandsFlag := flag.Bool("enable-commands", utils.ParseBool(envEnableCommands), "Enable command execution for AI auto-fix (disabled by default)")disableCommandsFlag := flag.Bool("disable-commands", false, "[DEPRECATED] Commands are now disabled by default; use --enable-commands to enable")healthAddrFlag := flag.String("health-addr", defaultHealthAddr, "Health/metrics server address (empty to disable)")@@ -539,6 +543,7 @@ func loadConfig() Config {ProxmoxType: strings.TrimSpace(*proxmoxTypeFlag),DisableAutoUpdate: *disableAutoUpdateFlag,DisableDockerUpdateChecks: *disableDockerUpdateChecksFlag,+ DockerRuntime: strings.TrimSpace(*dockerRuntimeFlag),EnableCommands: resolveEnableCommands(*enableCommandsFlag, *disableCommandsFlag, envEnableCommands, envDisableCommands),HealthAddr: strings.TrimSpace(*healthAddrFlag),KubeconfigPath: strings.TrimSpace(*kubeconfigFlag),diff --git a/docs/UNIFIED_AGENT.md b/docs/UNIFIED_AGENT.mdindex 4fcbb88f36..d701a13763 100644--- a/docs/UNIFIED_AGENT.md+++ b/docs/UNIFIED_AGENT.md@@ -45,6 +45,8 @@ curl -fsSL http://<pulse-ip>:7655/install.sh | \| `--enable-host` | `PULSE_ENABLE_HOST` | Enable host metrics | `true` || `--enable-docker` | `PULSE_ENABLE_DOCKER` | Force enable Docker metrics | **auto-detect** || `--disable-docker` | - | Disable Docker even if detected | - |+| `--docker-runtime` | `PULSE_DOCKER_RUNTIME` | Force container runtime: `auto`, `docker`, or `podman` | `auto` |+| `--enable-kubernetes` | `PULSE_ENABLE_KUBERNETES` | Force enable Kubernetes metrics | **auto-detect** || `--disable-kubernetes` | - | Disable Kubernetes even if detected | - || `--enable-proxmox` | `PULSE_ENABLE_PROXMOX` | Force enable Proxmox integration | **auto-detect** |