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:

config.yml
1
2
3
4
5
6
7
8
storage:
 swift:
   authurl: https://us2.storage.oraclecloud.com/auth/v1.0
   username: storage-<Identity Domain Id>:<username>
   password: <password>
   container: <container-name>
   tenantid: <Identity Domain Id>
   tempurlcontainerkey: true

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.