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.
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.
To specify a URI for a local container registry, use the following format:
localhost:<PORT>
# Examples:
localhost:5000
localhost:8000
localhost:9999
To use the Default container registry, we need:
- 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.
Last modified 6mo ago