Docker Hub

Codefresh has native support for interacting with Docker Hub registries, to push, pull, and deploy images.
For information on adding a Docker Hub integration in Codefresh, see Container registry integrations.


Before you configure settings in Codefresh to integrate Docker Hub registry, do the following:

Docker Hub integration settings in Codefresh

The table describes the arguments required to integrate Docker Hub to Codefresh.

Setting Description
Integration name A friendly name for the integration. This is the name you will reference in the third-party CI platform/tool.
All Runtimes/Selected Runtimes The runtimes in the account with which to share the integration resource.
The integration resource is created in the Git repository with the shared configuration, within resources. The exact location depends on whether the integration is shared with all or specific runtimes:
  • All runtimes: Created in resources/all-runtimes-all-clusters/
  • Selected runtimes: Created in resources/runtimes//
You can reference the Docker Hub integration in the CI tool.
Username The Docker Hub username.
Password If you enabled two-factor authentication, enter the personal access token for your Docker Hub account for Codefresh to push images. Personal access tokens are more secure and can be revoked when needed. Codefresh can then push your images. If two-factor authentication is not enabled, enter the password of your Docker Hub account (not recommended).
Test connection Click to verify that you can connect to the specified instance before you commit changes.

Docker Hub integration for image enrichment

Docker Hub integration for image enrichment

For how-to instructions, see Configure container registry integrations in Codefresh and Edit/delete container registry integrations in Codefresh.

Shared configuration repo
Image enrichment with integrations CI integrations
Issue-tracking integrations