beszel-agent-gpu: add smartmontools so agent can collect NVMe SMART
beszel-agent-gpu image / build (amd64) (push) Successful in 1m3s
beszel-agent-gpu image / amend-manifest (push) Successful in 12s

Agent chay smartctl ben trong container; can them devices mount
(/dev/nvme0) tai server tieu thu — da cap nhat example trong README.
This commit is contained in:
thuanle committed 2026-11-13 00:10:01 +07:00
1 parent a4182a14f7
commit 6e1df22b4f
2 files changed
+7 -2

No files matched your search

+4 -2
View File
@@ -8,10 +8,12 @@
# phép nvidia-smi chạy để agent thu thập GPU stats.
FROM ubuntu:26.04
# TLS: image ubuntu gốc không kèm CA bundle, thiếu nó agent không verify được
# TLS + SMART: image ubuntu gốc không kèm CA bundle, thiếu nó agent không verify được
# chứng chỉ của hub (x509: certificate signed by unknown authority).
# smartmontools: smartctl để agent thu thập SMART của SSD/HDD — cần mount
# device node (vd /dev/nvme0) vào container, xem README.
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates \
&& apt-get install -y --no-install-recommends ca-certificates smartmontools \
&& rm -rf /var/lib/apt/lists/*
# Binary Go tĩnh từ image chính thức + bảng id GPU AMD (giữ parity).