Docker Hub
Retrieve Container Images from Docker Hub using Cloudsmith
Docker Hub is the official registry (provided by Docker, Inc.) that allows you to find and share Docker-format container images.
It's the world’s largest repository of container images with an array of content sources including container community developers, open source projects, and independent software vendors (ISV) building and distributing their code in containers.
You can retrieve these images through Cloudsmith by enabling an upstream to Docker Hub to proxy and cache images.
Adding Docker Hub as an Upstream
Here's how you can integrate the Docker Hub Registry into your Cloudsmith account to begin proxying and caching images from Docker Hub:
- Add a new Upstream Proxy
In your Cloudsmith repository, go to "Upstreams" and select "Add Upstream Proxy".
- Configure the Upstream URL and mode
Provide a descriptive name for the upstream, e.g., Docker Hub, and specify the URL for Docker Hub: https://index.docker.io.
Set the desired priority.
Select Cache and Proxy. - Provide authentication credentials
Docker Hub currently requires authentication. Please select a Method of "Username and Password" and add your Docker Hub account credentials.
If you need help creating a Docker Hub account, see here.
Note: For Docker Hub, Username & Password are currently required, not optional.
- Configure SSL Certificate Verification
Ensure SSL certificates are verified for added security, especially for public sources.
Once configured, your account is now set up to proxy and cache images from Docker Hub through Cloudsmith.
Updated 2 months ago