mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 01:39:34 +08:00
update install-agent.sh to add beszel user to docker group
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user