@@ -116,6 +116,23 @@ where:
116116* `<SERVICE_PRINCIPAL_ID> ` is the AppID of the Service Principal with AcrPush role assignment,
117117* `<SERVICE_PRINCIPAL_PASSWORD> ` is the password for the Service Principal.
118118
119+ If you are using OVH Container Registry
120+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121+
122+ Update `secret.yaml ` to include the following::
123+
124+ registry:
125+ url: https://<hash>.<region>.container-registry.ovh.net
126+ username: <harbor-username>
127+ password: <harbor-password>
128+
129+ where:
130+
131+ * `<hash> ` is the hash of the registry
132+ * `<region> ` is the region of the registry
133+ * `<harbor-username> ` is the Harbor username
134+ * `<harbor-password> ` is the Harbor password
135+
119136Create ``config.yaml ``
120137----------------------
121138
@@ -183,6 +200,37 @@ where:
183200 If this is not provided, you may find BinderHub rebuilds images every launch instead of pulling them from the ACR.
184201 Suggestions for `<project-name> ` could be `ACR_NAME ` or the name you give your BinderHub.
185202
203+ If you are using OVH Container Registry
204+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205+
206+ If you want your BinderHub to push and pull images from an OVH Container Registry, then the `config.yaml ` file will look the following::
207+
208+ config:
209+ BinderHub:
210+ use_registry: true
211+ image_prefix: <hash>.<region>.container-registry.ovh.net/<prefix>-
212+ DockerRegistry:
213+ url: https://<hash>.<region>.container-registry.ovh.net
214+ token_url: https://<hash>.<region>.container-registry.ovh.net/service/token?service=harbor-registry
215+
216+ where:
217+
218+ * `<hash> ` is the hash of the registry
219+ * `<region> ` is the region of the registry
220+ * `<prefix> ` corresponds to the image prefix. If you created a new project called ``myproject `` in the previous section,
221+ then ``<prefix> `` should start with ``myproject/ ``
222+
223+ As an example, the config should look like the following::
224+
225+ config:
226+ BinderHub:
227+ use_registry: true
228+ image_prefix: abcde.gra7.container-registry.ovh.net/myproject/binder-
229+ DockerRegistry:
230+ url: https://abcde.gra7.container-registry.ovh.net
231+ token_url: https://abcde.gra7.container-registry.ovh.net/service/token?service=harbor-registry
232+
233+
186234If you are using a custom registry
187235~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
188236
0 commit comments