0.13.2
Search
⌃K
Links

Default Container Registry

How to store container images
The Default container registry is a container registry flavor which comes built-in with ZenML and allows container registry URIs of any format.

When to use it

You should use the Default container registry if you want to use a local container registry or when using a remote container registry that is not covered by other container registry flavors.

Local registry URI format

To specify a URI for a local container registry, use the following format:
localhost:<PORT>
# Examples:
localhost:5000
localhost:8000
localhost:9999

How to use it

To use the Default container registry, we need:
  • Docker installed and running.
  • The registry URI. If you're using a local container registry, check out the previous section on the URI format.
We can then register the container registry and use it in our active stack:
zenml container-registry register <NAME> \
--flavor=default \
--uri=<REGISTRY_URI>
# Add the container registry to the active stack
zenml stack update -c <NAME>
For more information and a full list of configurable attributes of the Default container registry, check out the API Docs.