DockerHub
Storing container images in DockerHub.
Last updated
Was this helpful?
Storing container images in DockerHub.
Last updated
Was this helpful?
The DockerHub container registry is a flavor that comes built-in with ZenML and uses to store container images.
You should use the DockerHub container registry if:
one or more components of your stack need to pull or push container images.
you have a DockerHub account. If you're not using DockerHub, take a look at the other .
To use the DockerHub container registry, all you need to do is create a account.
When this container registry is used in a ZenML stack, the Docker images that are built will be published in a ** public** repository and everyone will be able to pull your images. If you want to use a private repository instead, you'll have to on the website before running the pipeline. The repository name depends on the remote or that you're using in your stack.
The DockerHub container registry URI should have one of the two following formats:
To figure out the URI for your registry:
Use the account name to fill the template docker.io/<ACCOUNT_NAME>
and get your URI.
To use the DockerHub container registry, we need:
We can then register the container registry and use it in our active stack:
Find out the account name of your account.
installed and running.
The registry URI. Check out the on the URI format and how to get the URI for your registry.
Additionally, we'll need to log in to the container registry so Docker can pull and push images. This will require your DockerHub account name and either your password or preferably a .