- Docker image to run private registry with S3 storage backend
- configure environment vars(config.yml) run registry in Mesos as Marathon App
docker run \
-e AWS_BUCKET= <bucket-name> \
-e AWS_KEY= <aws key>\
-e AWS_SECRET= <aws secret key> \
-e AWS_REGION="us-east-1" \
-e HTPASSWD_REALM="indix" \
-e HTPASSWD_PATH= <aws bucket with htpasswd> \
-e STORAGE_PATH=/registry \
-p 5000:5000 \
ind9/registry-s3
- Creating new tags with your commit will create automated builds in dockerhub.
- Tags follow format
N.N.
(to trigger automated build rules)
-
htpasswd with Bcrypt is used for authenticating registry 2. Create the htpasswd file using command
htpasswd -Bc username
-
The above command prompts you to enter password. Copy the file with label as htpasswd to s3-bucket input as HTPASSWD_PATH. The object path would be Bucket-name/htpasswd