Open
Description
registry image: registry:2
/etc/docker/registry/config.yml
version: 0.1
log:
fields:
service: registry
storage:
delete:
enabled: true
s3:
accesskey: *******
secretkey: *******
region: us-east-2
regionendpoint: https://161.189.205.192:31920
bucket: registry
encrypt: false
secure: false
skipverify: true
v4auth: false
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
notifications:
events:
includereferences: true
endpoints:
- name: alistener
disabled: false
url: http://gemini-api:80/gemini_api/notifications/registry/event
timeout: 2s
threshold: 10
backoff: 5s
ignoredmediatypes:
- application/octet-stream
ignore:
mediatypes:
- application/octet-stream
actions:
- pull
command (in container):
registry garbage-collect /etc/docker/registry/config.yml
error log :
failed to garbage collect: failed to mark: s3aws: Path not found: /docker/registry/v2/repositories
Any help on how to fix it?
Thanks a lot