Add Registries to the Management Portal
You can add multiple registries to gain access to both public and private images. You can enable and disable the registries that you added. When you disable a registry, searching for templates and images in that registry is disabled. Even if you disable the default https://registry.hub.docker.com registry, you can still access the popular templates. To customize your popular templates, see Customize the Popular Templates list in the Admiral documentation.
vSphere Integrated Containers can interact with both Docker Registry HTTP API V1 and V2 in the following manner:
|V1 over HTTP (unsecured, plain HTTP registry)||You can freely search this kind of registry, but you must manually configure each Docker host or virtual container host with the
|V1 over HTTPS||Use behind a reverse proxy, such as NGINX. The standard implementation is available through open source at https://github.com/docker/docker-registry.|
|V2 over HTTPS||The standard implementation is open sourced at https://github.com/docker/distribution.|
|V2 over HTTPS with basic authentication||The standard implementation is open sourced at https://github.com/docker/distribution.|
|V2 over HTTPS with authentication through a central service||You can run a Docker registry in standalone mode, in which there are no authorization checks.|
In the management portal, navigate to Templates > Registries and click Add.
In the Add Registry dialog box, configure the registry settings.
As address, enter the IP or hostname of the registry and the port.
If you add the vSphere Integrated Containers Registry, enter https://*hostname*:443.
- Enter name for the registry.
- Select the login credential and click Verify.
- If prompted to trust the registry certificate, click OK.
- After successful verification, click Save.
The registry appears on the Registries page and you can access the images stored in that registry.