I would like to use DigitalOcean Object Storage to store my Docker Registry Images.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Spaces was designed to be inter-operable with the S3 API so that you can take advantage of existing integrations. I am currently running a Docker Registry instance backed by Spaces using the S3 storage driver. The key difference to note when using it with Spaces is that you must set the
regionendpoint
explicitly.Here’s the
storage
stanza from theconfig.yml
that I’m using:Hope that helps!
I retried today and I was able to push now. Not sure why it don’t work before. The only difference is that I tried to push over a SSH tunnel and now push through a nginx ingress controller.
I am also unable to push images by using the DigitalOcean space as storage driver.
Error during push:
Error message from Registry:
@asb @gaborglazer Did you manage to push and pull an image with this storage configuration?
When using the exact same config I’m getting the following error on a push:
Thank you