aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-registry/docker-registry.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/docker-registry/docker-registry.pre-install')
-rw-r--r--community/docker-registry/docker-registry.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/docker-registry/docker-registry.pre-install b/community/docker-registry/docker-registry.pre-install
new file mode 100644
index 0000000000..e921230cfc
--- /dev/null
+++ b/community/docker-registry/docker-registry.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S docker-registry 2>/dev/null
+adduser -S -H -h /dev/null -s /sbin/nologin -D -G docker-registry docker-registry 2>/dev/null
+exit 0