From c9196def32d42c2270e08399e1e162c862cd8e86 Mon Sep 17 00:00:00 2001 From: Henry Dollman Date: Fri, 2 Aug 2024 14:59:26 -0400 Subject: [PATCH] update install-agent.sh to add beszel user to docker group --- supplemental/scripts/install-agent.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supplemental/scripts/install-agent.sh b/supplemental/scripts/install-agent.sh index 5c19d85..2f5c6f4 100755 --- a/supplemental/scripts/install-agent.sh +++ b/supplemental/scripts/install-agent.sh @@ -78,6 +78,8 @@ else echo "Creating a dedicated user for the Beszel Agent service..." sudo useradd -M -s /bin/false beszel fi + # Add the user to the docker group to allow access to the Docker socket + sudo usermod -aG docker beszel # Create the directory for the Beszel Agent if [ ! -d "/opt/beszel-agent" ]; then