docker-registry image which uses ali oss as its storage
815
docker-registry image which uses ali oss as its storage
Assuming you have docker installed on your machine:
TO BUILD: docker build --rm=true -t registry:ali_oss . #to build the image from this dockerfile
TO RUN: docker run -e OSS_BUCKET=<your_ali_oss_bucket> -e STORAGE_PATH=/docker/ -e OSS_KEY=<your_ali_oss_key> -e OSS_SECRET=<your_ali_oss_secret> -p 5000:5000 -d chrisjin/registry
NOTE: it may be slow for the first time since docker need to get its dependencies from docker-hub.
Please refer https://github.com/chris-jin/docker-registry-alioss for more info.
Content type
Image
Digest
sha256:cc6639fb3…
Size
176 MB
Last updated
almost 11 years ago
docker pull chrisjin/registry:ali_oss