Overview

Digital Garage can utilize any server implementing the Docker registry API as a source of images, including the Docker Hub, private registries run by third parties, and the integrated Digital Garage registry.

Integrated Digital Garage Registry

Digital Garage provides an integrated container registry that adds the ability to provision new image repositories on the fly. This allows users to automatically have a place for their builds to push the resulting images.

Whenever a new image is pushed to the integrated registry, the registry notifies Digital Garage about the new image, passing along all the information about it, such as the namespace, name, and image metadata. Different pieces of Digital Garage react to new images, creating new builds and deployments.

Third Party Registries

Digital Garage can create containers using images from third party registries, but it is unlikely that these registries offer the same image notification support as the integrated Digital Garage registry. In this situation Digital Garage will fetch tags from the remote registry upon imagestream creation. Refreshing the fetched tags is as simple as running oc import-image <stream>. When new images are detected, the previously-described build and deployment reactions occur.

Authentication

Digital Garage can communicate with registries to access private image repositories using credentials supplied by the user. This allows Digital Garage to push and pull images to and from private repositories. The Authentication topic has more information.