rpardini / docker-registry-proxy

An HTTPS Proxy for Docker providing centralized configuration and caching of any registry (quay.io, DockerHub, k8s.gcr.io)
Apache License 2.0
912 stars 170 forks source link

Can S3 be used and main storage? #141

Closed shellshock1953 closed 2 years ago

shellshock1953 commented 2 years ago

Hi, Can docker-registry-proxy use S3 as a storage backend? S3 has the ability, for example. to delete "old" files (cache, in this scope) after some time (and others). In this scenario, you don't need to administrate disk space anymore.

rpardini commented 2 years ago

Ehh... this project uses nginx's caching, which is on a filesystem. You can try the old hacks, but I really don't recommend it. Maybe EFS is more appropriate, but check the nginx docs.