Public | Automated Build

Last pushed: a year ago
Short Description
Just simple fork of original docker/distribution repository with KS3 storage driver added.
Full Description

ksyun/registry

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/registy:latest

More available ks3 environment variables see https://github.com/softlns/distribution/blob/master/docs/storage-drivers/ks3.md .

License

This project is distributed under Apache License, Version 2.0.

Docker Pull Command
Owner
ksyun
Source Repository

Comments (0)