5000 is fineMake /mnt/user/registry unraid share.
Create auth file. Note that the passsword needs to be alphanumeric it looks like for everything to work.
cd /mnt/user/registry
mkdir data
mkdir auth
docker run \
--entrypoint htpasswd \
httpd:2 -Bbn testuser testpassword >> auth/htpasswd
Add the extra environment variables to the docker instance in unraid:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
And map the path:
/mnt/user/registry/auth -> /auth
Then change the advanced setting for the data path to point to /mnt/user/registry/data rather than the appdata folder. This can get large!
docker login registry.jde.nz
On unraid /mnt/user/registry/auth/htpasswd:
j:$2y$05$IBPCfMoFm07VoAHPzHMuhuQVcCeh0EedM2o/QpO9ApGmnUn0s8Ky6
glasers:$2y$05$q.EsTjnDa1lmXnlKBC0Ux.jw59PTgtHJsB1Uo4x4mQ3iSLhxzF3ji
squashkiwi:$2y$05$yLrY6gn2jx3NSAcxc/MixOgejn0rw0jQ6GSshLhtHTQ8jKAxXRQSa