DigitalOcean Container Registry
Storing container images in the DigitalOcean Container Registry.
The DigitalOcean container registry is a container registry flavor that comes built-in with the DigitalOcean ZenML integration and uses the DigitalOcean Container Registry (DOCR) to store container images.
When to use it
You should use the DigitalOcean container registry if:
one or more components of your stack need to pull or push container images.
your infrastructure runs on DigitalOcean — for example a DOKS cluster running the Kubernetes orchestrator that pulls pipeline images from DOCR.
How to deploy it
The flavor is provided by the DigitalOcean ZenML integration:
zenml integration install digitalocean -yYou also need a DOCR registry. In the DigitalOcean control panel, go to Container Registry and create one (each account has a single registry with a unique name). The registry URI has the form:
registry.digitalocean.com/<REGISTRY_NAME>How to use it
To use the DigitalOcean container registry, you need:
Docker installed and running.
The registry URI (see above).
You can then register the container registry and use it in your active stack:
zenml container-registry register do_registry \
--flavor=digitalocean \
--uri=registry.digitalocean.com/<REGISTRY_NAME>
# Add the container registry to the active stack
zenml stack update -c do_registryYou also need to authenticate your local Docker client with DOCR. The simplest way is doctl:
For more information and a full list of configurable attributes of the DigitalOcean container registry, check out the source code on GitHub.
Last updated
Was this helpful?