Using Oracle Storage Cloud for a Docker Registry
It’s possible to configure a Docker Registry to use Oracle Storage Cloud by leveraging its OpenStack Swift compatible interface and the swift storage driver.
To configure it, add the following stanza to your registry config.yml
:
1 |
|
You’ll also need to configure read access on the container because the registry does a 307 redirect to Storage Cloud when it gets a pull request, so add a read ACL of .r:*
for your container. This provides public read (non-authenticated) to the container data.
Check the Oracle Storage Cloud documentation to build a more restrictive ACL based on your requirements, but all target docker clients would need to be able to read data in order to pull images.