aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-registry/docker-registry.pre-install
blob: 8c1c98636f67bc3004a5e565738ebfa0b8df5f53 (plain)
1
2
3
4
5
6
#!/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