Skip to content

Commit 4b787bd

Browse files
committed
Add more details for prefix and projects (OVH)
1 parent e9885cc commit 4b787bd

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
31.7 KB
Loading

doc/zero-to-binderhub/setup-binderhub.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,19 @@ where:
217217

218218
* `<hash>` is the hash of the registry
219219
* `<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+
220233

221234
If you are using a custom registry
222235
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

doc/zero-to-binderhub/setup-registry.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ To use the OVH Container Registry, log in to the `OVH Control Panel <https://www
157157

158158
5. Then click on **Harbor API** to retrieve the URL of the registry
159159

160+
6. Log in to the Harbor Interface using the identification details, and create a new project:
161+
162+
.. figure:: ovh/new_project.png
163+
164+
Create a new Harbor project.
165+
166+
7. The name of the project will be used when setting up the registry config in the next section
167+
160168
For more information about these steps, check out the `OVH Documentation <https://docs.ovh.com/gb/en/private-registry/creating-a-private-registry>`_
161169

162170
Next step

0 commit comments

Comments
 (0)