Just simple fork of original docker/distribution repository with KS3 storage driver added.
1.4K
Source for automated builds of a docker registry image.
The built image is available at https://hub.docker.com/r/ksyun/registry/
The image is based on the official registry image, but with added support for storing images on KS3.
Here is an example that will launch a container on port 5000, and store images in an Kingsoft Cloud KS3 bucket:
docker run -d \
-p 5000:5000 \
-e "REGISTRY_STORAGE=ks3" \
-e "REGISTRY_STORAGE_KS3_REGION=ks3-cn-beijing" \ # your region name e.g. ks3-cn-beijing
-e "REGISTRY_STORAGE_KS3_BUCKET=ks3-docker" \ # your bucket name
-e "REGISTRY_STORAGE_KS3_ACCESSKEY=sgyO124X+/ZRbmgrbP7g" \ # your accesskey
-e "REGISTRY_STORAGE_KS3_SECRETKEY=p9/6yLzbU2FZEPw5vCPf2/buQOz1SVNdqqBtzsch" \ # your secretkey
-- name registry \
ksyun/registry:latest
More available ks3 environment variables see https://github.com/softlns/distribution/blob/master/docs/storage-drivers/ks3.md .
This project is distributed under Apache License, Version 2.0.
Content type
Image
Digest
Size
91 MB
Last updated
over 8 years ago
docker pull ksyun/registry