alpine-overlay/v3.16/docker-registry/docker-registry.pre-install

7 lines
172 B
Bash

#!/bin/sh
addgroup -S docker-registry 2>/dev/null
adduser -S -D -H -h /dev/null -s /sbin/nologin -G docker-registry -g docker-registry docker-registry 2>/dev/null
exit 0