We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b505824 commit 7a7d986Copy full SHA for 7a7d986
packaging/docker/run.sh
@@ -12,6 +12,8 @@ fi
12
13
# Needed to read Proxmox VMs and (LXC) containers configuration files (name resolution + CPU and memory limits)
14
function add_netdata_to_proxmox_conf_files_group() {
15
+ [ "${DOCKER_USR}" = "root" ] && return
16
+
17
local group_guid
18
group_guid="$(stat -c %g /host/etc/pve 2>/dev/null || true)"
19
[ -z "${group_guid}" ] && return
@@ -35,6 +37,8 @@ function add_netdata_to_proxmox_conf_files_group() {
35
37
36
38
# Needed to access NVIDIA GPU monitoring
39
function add_netdata_to_nvidia_group() {
40
41
42
local group_gid
43
group_gid="$(stat -c %g /dev/nvidiactl 2>/dev/null || true)"
44
[ -z "${group_gid}" ] && return
0 commit comments