From 5b95dbd8a75e371964b379c8402e7df24e0c0884 Mon Sep 17 00:00:00 2001
From: Jan Frenzel <jan.frenzel@tu-dresden.de>
Date: Thu, 30 Sep 2021 12:45:06 +0200
Subject: [PATCH] Added description about non-sudo docker commands in
 README.md.

---
 doc.zih.tu-dresden.de/README.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc.zih.tu-dresden.de/README.md b/doc.zih.tu-dresden.de/README.md
index 72216120f..b0680e2aa 100644
--- a/doc.zih.tu-dresden.de/README.md
+++ b/doc.zih.tu-dresden.de/README.md
@@ -399,6 +399,11 @@ that:
 cp doc.zih.tu-dresden.de/util/pre-commit .git/hooks/
 ```
 
+!!! note
+    The pre-commit hook only works, if you can use docker without using `sudo`. If this is not
+    already the case, use the command `adduser $USER docker` to enable docker commands without
+    `sudo` for the current user. Restart the docker daemons afterwards.
+
 ## Content Rules
 
 **Remark:** Avoid using tabs both in markdown files and in `mkdocs.yaml`. Type spaces instead.
-- 
GitLab