Register a docker registry
- The pre-requisites for registration of a docker registry are
- A docker registry URL pointing to a docker registry in DockerHub or AWS ECR (Elastic Container Registry).
- If the docker registry needs credentials to pull images, then a Secret must be registered on the Secrets page. The type of secret needed for DockerHub hosted repo is 'Basic Auth', and that for AWS ECR is 'AWS'.
- Navigate to the docker registry page under Data > Process > Docker Registries on the left navigation panel.
- Click the Register button highlighted below.
- Fill in the Docker Registry Details.
- Name: Enter an identifiable name to the docker registry.
- Registry type: Depending on where the registry is hosted, select from a drop-down that consists of 'Dockerhub' and 'AWS ECR'
- Registry URL: Enter the registry's URL that is typically in the form of registry.hub.docker.com/repository123 (for Dockerhub type of registry) and <account>.dkr.ecr.<region>.amazonaws.com/<repo> for AWS Elastic Container Registry (ECR) type of repo.
- Access type: If the docker registry is hosted without any credentials setup, then select 'Public'. If the docker registry is hosted with credentials setup, select 'Private' and select a registered Secret Key.
- Click the Save button.
On successful registration, the docker registry will be listed on the Docker Registries page as below.
Edit docker registry details
- Click the Edit button on the card corresponding to the docker registry that needs to be edited.
- Update the fields in the edit form shown below.
Only the name, access type and secret are allowed to be edited. - Click the 'Save' button.
Unregister a docker registry
An unregistered registry cannot have its docker image registered on Data Explorer. The deregistration is a step towards deprecating/retiring a docker registry. In future releases, additional support to fully delete a docker registry will be provided. To unregister a docker registry,
- Click the Unregister button on the card corresponding to the docker registry to be unregistered.
- Confirm Unregister operation on the following confirmation dialog box.